Re: Strap 5.10-11 large images

David Christensen <[email protected]> Fri, 13 Apr 2018 09:09:40 -0500
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
> 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
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlrQuiQACgkQN0ojyd+b
Zbi+LQ//emf5JhPMoRcbbeJIqPWI35QRfGC1I+aoUfU5s4u/h0k3tGTdw4lZ/VDJ
omrK4N3o12BL7x9JYys/J0dFNMokRnw8PvyzVVlzdG9Vup4O8LS6BiLmy+KmrfPc
Ij3bqQvsO8Z06bYeyqN1zv+YoAbQ13wN6P+RVFTKkX+a+jSJ69fqUDZIOeZhFGlo
aYXH8xNELNx7CbRrKFQrbkENtgJGiGxOO2mI0hnkpV3Anv/vDHhypuEqgTViFtkV
5307wlDm0Amfof5qV7OGBK73jY3UICuq1hWINvD4p9WvRULmVIjuCQPoAWEG8Nny
nlFJE9Eu8ZMxtdixvMzdJVTnekUvf+gYkBmcL4bVY9Xe0MUDU3R+VzLPvp7g/pGS
mAJWOdKNpBttdl3gKHwu29XMLFtNAEX68GRyZOgt1tvUzluNYPC6J1ylqYF0l1Uf
DuDsASEot15hTyJiD6SqmE1FCsHS9Z7bOTLSYWyEFsvvZ1hW9+bOqzPFervoMVmw
6Y1YQP2XONq9AlAWll0jLb/EZqy5SP2Z+2UkE0kl4MBIfnLQUqhMOYa6cUfgXNjW
2GT7yeapXbmGICsCExcbdS/z6xYYadtEs//KwOyQPcIGJy7S3XUw3Ut4dqt91cY4
T2xmLngDvxfbKJFqzJdedUFF36lUkvohjypAxw1QTFhynhLZX9Q=
=+ZlJ
-----END PGP SIGNATURE-----