Mailing List Archive

Strap 5.10-11 large images
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.

Need help!

Kerry

--
Re: Strap 5.10-11 large images [ In reply to ]
> 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@endpoint.com
785-727-1171
Re: Strap 5.10-11 large images [ In reply to ]
On 04/13/2018 07:10 AM, kerry wrote:
> 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"">

I think this might be your issue vs the ITL. ^^

Warm Regards,

Sam Batschelet
End Point Corporation

samb@endpoint.com

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users