[BNM] Wordpress wizards? How to strip images from posts
Chris Billett
chris at chrisbillett.net
Wed Dec 12 13:28:46 GMT 2007
Yup... I have a feeling it will be downloaded. Jay's idea sounds like a
good one, but if it applies it to all generated pages then presumably it'd
cock it up for web users... hmm.
Conundrum. I know someone who is better at this stuff than me (not hard,
yeah yeah) so will forward on to him.
CB
> The mobile version has a seperate style sheet/template - so whatever I did
> on the mobile version wouldn't affect the normal one. Making the tariff
> barons rich is what I'm trying to avoid :)
>
> It's just the question of whether display:none means that the image is
> still
> downloaded first, then hidden.
>
>
> On Dec 12, 2007 1:18 PM, Chris Billett <chris at chrisbillett.net> wrote:
>
>> But that would stop them going in posts at all, right? Just to
>> clarify...
>> is the goal to have a seperate style on phones and normal *including
>> images* on normal web?
>>
>> In which case CSS would be great, but probably would still load them...
>> making data tariff bastards very happy.
>>
>> > On 12/12/07, delarge <delargerock at gmail.com> wrote:
>> >> Hey hey - searching is proving fruitless on this one.... anyone know
>> how
>> >> to
>> >> get a wordpress post to ignore img tags? as in - produce a text only
>> >> version?
>> >
>> > If you're using a Wordpress 2 install, you should be able to edit the
>> > wp-includes/kses.php file and remove IMG from the $allowedposttags
>> > variable.
>> >
>> > Someone with the opposite problem (stripping tag attributes they
>> wanted
>> > to allow)
>> >
>> http://maisonbisson.com/blog/post/11674/wordpress-strips-classnames-and-how-to-fix-it
>> >
>> > --
>> > Jay Caines-Gooby
>> > jay at gooby.org
>> > +44 (0)7956 182625
>> > skype: jaygooby
>> > gtalk: jaygooby at gmail.com
>> > AIM: jaygooby
>> > --
>> >
>> > BNM Subscribe/Unsubscribe:
>> > http://www.brightonnewmedia.org/options/bnmlist
>> >
>> > Archive Search - http://icanhaz.com/bnmarchive
>> >
>> > List jobs for 10 pounds on Sussex Digital. Use promo code bnm10
>> > http://jobs.sussexdigital.com/
>> >
>> > BNM powered by Wessex Networks:
>> > http://www.wessexnetworks.com
>> >
>>
>>
>> --
>>
>> BNM Subscribe/Unsubscribe:
>> http://www.brightonnewmedia.org/options/bnmlist
>>
>> Archive Search - http://icanhaz.com/bnmarchive
>>
>> List jobs for 10 pounds on Sussex Digital. Use promo code bnm10
>> http://jobs.sussexdigital.com/
>>
>> BNM powered by Wessex Networks:
>> http://www.wessexnetworks.com
>>
>
>
>
> --
> Paul Burgess
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> Archive Search - http://icanhaz.com/bnmarchive
>
> List jobs for 10 pounds on Sussex Digital. Use promo code bnm10
> http://jobs.sussexdigital.com/
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
More information about the BNMlist
mailing list. Powered by Wessex Networks