ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Image Path Not Resolved

July 15, 2015 5:55pm

Subscribe [1]
  • #1 / Jul 15, 2015 5:55pm

    motorstormer

    17 posts

    I’m transferring my site to a different server.  I’m building out a microsite on Expression Engine 1.6.8.  The issue is the image path is not resolved using the Image Sizer plugin.  Here is an example of a tag:

    <a href="http://{global_url}tour/"><h2>{title}</h2>_    <a href="{master_site}{exp:imgsizer:size src=4etOJl8a1XKk7fDdraGKa7JhGclEeBKwtypography_img_src_end{small_img} _justurl=yes width=yes alt= width= alt=my site image class=gator ">{master_site}{exp:imgsizer:size src=4etOJl8a1XKk7fDdraGKa7JhGclEeBKwtypography_img_src_end{small_img} _justurl=yes width=yes alt= width= alt=my site image class=gator </a></a>

    What happens is the master_site global variable works, but no path is added for Image Sizer.  So the resulting tag is:

    <a href="http://www.example.com">http://www.example.com</a>
  • #2 / Jul 16, 2015 4:40pm

    motorstormer

    17 posts

    This was related to the base_path variable in the plugin.  It was a microsite so $_SERVER[“DOCUMENT_ROOT”] was different.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases