Closed (duplicate)
Project:
Inline
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2005 at 14:11 UTC
Updated:
21 Nov 2005 at 02:49 UTC
This patch will add a setting so admins can specify css style attributes to inline images.
The module already add a class="inline" to inline images so you can add your attributes to the CSS file. The problem for me are that it will not work when people read you story/blog via the RSS feed and a news reader.
Thanks for making this module by the way, it's the best/easiest way to add images to a post in my opinion.
(The patch also add some spaces around a few equal signs.)
| Comment | File | Size | Author |
|---|---|---|---|
| inline.module01.patch | 2.94 KB | frjo |
Comments
Comment #1
matteo commentedThanks for the help, I'll take a look at the code. However, there was another proposal to define a class parameter, that could simplify user coding of the tag.
Why are you saying that RSS feed does not display images ?? As far as I tried, I was able to do it...
Let me know, please !!
Matteo
Comment #2
frjo commentedI was unclear. The image show up just fine in the RSS-feed. But say you specify in your CSS file that the class "inline" should be float right and padding 5px etc. This will work on the site but will have no effect how the image is presented in the RSS feed.
If you instead add the style attributes directly to the img tag they will "follow" the image where ever it goes.
Comment #3
frjo commentedAnd I shouldn't play with the title when following up on a issue :-).
Comment #4
matteo commentedNo problem....
I understand, now. I will merge your code with another requirement to be able to specify explicitly a 'class=' attribute. It will take some time, but please be patient....
Matteo
Comment #5
Richard Archer commentedThis is all included in Bert's excellent patch:
http://drupal.org/node/32838