oh it's on both of us here..opawaldburger wrote: Hi Jeremy!
.
.
.
Where's the mistake?
Greez, Opa


Cheers -Jeremy
oh it's on both of us here..opawaldburger wrote: Hi Jeremy!
.
.
.
Where's the mistake?
Greez, Opa
Well, I thought since you developed this plug-in you would know it best... AND I WAS RIGHToh it's on both of us here.. the last version in the post here took care of that... I should have published that new version... it is done.. you should not see the error any more with it...Hi Jeremy!
.
.
.
Where's the mistake?
Greez, Opa
Code: Select all
{capture assign=imgIs}{$entry->file_location}/{$field->image}{/capture}
{supersizer path=$imgIs width="32" crop='true' subdir=$entry->id alt=""}
Code: Select all
"There is a path issue with the orginal image!
Does this look right?"
What doesnicmare wrote: one question.
i was checking every post here but did not find a answer. i have news. and a customfield for images. it is NO upload field but a wysiwyg field because i need a filepicker.
for the custom field i get this value:
but afaik i just need the raw path to that image. thats the reason why it wont work with jeremys snippet:i getCode: Select all
{capture assign=imgIs}{$entry->file_location}/{$field->image}{/capture} {supersizer path=$imgIs width="32" crop='true' subdir=$entry->id alt=""}
So, how to get the path of that image? my custom field is called "bild"Code: Select all
"There is a path issue with the orginal image! Does this look right?"
Code: Select all
{if $entry->bild}{capture assign=imgIs}{$entry->bild}{/capture}
{supersizer path=$imgIs width="32" crop='true' subdir=$entry->id alt=""}{/if}
Code: Select all
<font color="#FF0000">There is a path issue with the orginal image!</font><br/><strong>Does this look right?<br/>Path:</strong>/www/htdocs/w00885cf/lmdm/cmsms/<img src="uploads/images/image1.jpg" alt="image1" width="180" height="200" /><br/><img src="http://www.url.de/cmsms/uploads/SuperSizerTmp/>-w32-h0-p0-F-S1.jpg" alt="image1" width="180" height="200" />" alt="" />
Code: Select all
<img src="uploads/images/image1.jpg" alt="image1" width="180" height="200" />