[ic] Strap 5.10-11 large images

David Christensen david at endpoint.com
Fri Apr 13 14:09:40 UTC 2018


> I am trying to have large images display on the flypage with this code:
> 
> <tr><td></td>
> <td class="form-inline text-center colspan="2"">
>         [if-item-field image_large][L]<b>More Information<b>[/L]<br>
>                     <img src="/interchange-5/en_US/items/[item-field image_large]" alt="[item-filter encode_entities][item-description][/item-filter]">
>                     [/if-item-field]
>     </td>
>     </tr>
> 
> 
> placed at the bottom of the table in flypage. With it in, it breaks the item image and does not show as expected. Only the description shows.
> 

Hi Kerry,

You’d want to make sure the generated URL is the path of the specific images; in my experience, product images generally live in "$HTDOCS/images/items/“.

You could probably proceed by picking an arbitrary product, find the image_large field from the database, then running `find htdocs -name <whatever>` and seeing where this is being stored.  At that point it would just be a matter of correcting the image path in your above code.

HTH,

David

--
David Christensen
End Point Corporation
david at endpoint.com
785-727-1171



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20180413/5e549fa8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20180413/5e549fa8/attachment.pgp>


More information about the interchange-users mailing list