Closed (won't fix)
Project:
ImageCache Actions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2009 at 01:50 UTC
Updated:
15 Sep 2009 at 02:21 UTC
hi,
I'm not a programmer so forgive me if I ask a something that's to much to handle...
is it possible to create an action that puts images 'inline' ? Preferably with the options : left, right, top, bottom...
thanks.
Comments
Comment #1
HansR commentedone thought... maybe could solve this temporarily...
I know there is a php action... could it be modified to create an additional action to wrap an HTML tag around an image ?
Since I mention 'around an image' I guess it should come with 2 fields to enter.. one to put before the image, one after the image...
I guess this could be a solution to show pictures inline... or am I wrong again in the simplicity of my question ? Then I appologize...
just trying to do some thinking , because I really need to show my pictures inline without having to use other modules that or:
* Break the imagecache actions
* affect the whole site and all its pictures...
Comment #2
dman commentedIt's not something that can be done from the imagecache end.
Imagecache processes image files and creates the binary data that gets referred to in an imag src= attribute.
Theming and css have to happen in the content display routines. How you put that image on your page is a function of your theme, or possibly some UI configs within whatever display routine you are using (cck imagefield? IMCE? you don't explain)
There is theme_image function you can override in your theme - but that has no special connection with imagecache.
There is even theme_imagecache() which MAY be able to be used for what you want. But in general this is out of scope for the image transformation libraries. It's a theme thing.
And there is - AFAIK, no text-wrapping 'align:bottom' within CSS. Although it would be interesting to find.