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 sizer not working after moving to Multiple Site Manager

August 13, 2009 2:27pm

Subscribe [3]
  • #1 / Aug 13, 2009 2:27pm

    jbcobbs

    53 posts

    After switching to MSM my images stopped showing up. If you look in the code of the rendered page, image tags are gone. The code below references http://feastoflittleitaly.com/Entertainment which is the default site. If I delete the new site that I was trying to add then everything works.

    {embed="embeds/head"}
    <div id="container">
        {embed="embeds/header2"}
    {embed="embeds/sidebar"}
     <div id="mainContent">
    
    <div id="entertainment_header">
    
    {exp:weblog:entries  weblog="sponsors" search:sponsor_details="entertainment_sponsor"}
    {exp:imgsizer:size src="{sponsor_logo}" width="200"}{/exp:weblog:entries}<h4>Entertainment Stage</h4>
    <p></div></p>
    
    <p><div id="entertainment_header"><br />
    {exp:weblog:entries weblog="festival_setup"}</p><h3>{festival_date_1 format="%l, %F %j %Y"}</h3>
    <p>{/exp:weblog:entries}<br />
    </div></p>
    
    <p><div id="entertainment_schedule_headliner"><br />
    {exp:weblog:entries weblog="entertainment" search:event_type="=headliner" search:event_day="=1"}<br />
    <ul><br />
    {exp:imgsizer:size src="{event_image}" width="200"}</p><h2>Headliner {event_date format="%g:%i %a"}</h2>
    <p><h1>{title}</h1><br />
    </ul><br />
    </div><br />
    <div id="entertainment_schedule"><br />
    {/exp:weblog:entries}<br />
    {exp:weblog:entries weblog="entertainment"  orderby="event_date"  sort="asc|desc" search:event_day="=1"}<br />
    <ul><br />
    {exp:imgsizer:size src="{event_image}" width="150"}</p><h2>{event_date format="%g:%i %a"}</h2>
    <p><h1>{title}</h1></p>
    
    <p><br />
    </ul><br />
    {/exp:weblog:entries}<br />
    </div></p>
    
    <p><br />
    <div id="entertainment_header"><br />
    {exp:weblog:entries weblog="festival_setup"}</p><h3>{festival_date_2 format="%l, %F %j %Y"}</h3>
    <p>{/exp:weblog:entries}<br />
    </div></p>
    
    <p><div id="entertainment_schedule_headliner"><br />
    {exp:weblog:entries weblog="entertainment" search:event_type="=headliner" search:event_day="=2"}<br />
    <ul><br />
    {exp:imgsizer:size src="{event_image}" width="200"}</p><h2>Headliner {event_date format="%g:%i %a"}</h2>
    <p><h1>{title}</h1><br />
    </ul><br />
    </div><br />
    <div id="entertainment_schedule"><br />
    {/exp:weblog:entries}<br />
    {exp:weblog:entries weblog="entertainment"  orderby="event_date"  sort="asc|desc" search:event_day="=2"}<br />
    <ul><br />
    {exp:imgsizer:size src="{event_image}" width="150"}</p><h2>{event_date format="%g:%i %a"}</h2>
    <p><h1>{title}</h1></p>
    
    <p><br />
    </ul><br />
    {/exp:weblog:entries}<br />
    </div></p>
    
    
    
    <p><div id="entertainment_header"><br />
    {exp:weblog:entries weblog="festival_setup"}</p><h3>{festival_date_3 format="%l, %F %j %Y"}</h3>
    <p>{/exp:weblog:entries}<br />
    </div></p>
    
    <p><div id="entertainment_schedule_headliner"><br />
    {exp:weblog:entries weblog="entertainment" search:event_type="=headliner" search:event_day="=3"}<br />
    <ul><br />
    {exp:imgsizer:size src="{event_image}" width="200"}</p><h2>Headliner {event_date format="%g:%i %a"}</h2>
    <p><h1>{title}</h1><br />
    </ul><br />
    </div><br />
    <div id="entertainment_schedule"><br />
    {/exp:weblog:entries}<br />
    {exp:weblog:entries weblog="entertainment"  orderby="event_date"  sort="asc|desc" search:event_day="=3"}<br />
    <ul><br />
    {exp:imgsizer:size src="{event_image}" width="150"}</p><h2>{event_date format="%g:%i %a"}</h2>
    <p><h1>{title}</h1></p>
    
    <p><br />
    </ul><br />
    {/exp:weblog:entries}<br />
    </div></p>
    
    <p><!-- end #mainContent --><br />
    {embed="embeds/footer"}

  • #2 / Aug 13, 2009 5:24pm

    Ingmar

    29245 posts

    Is that happening on both sites? What version and build of EE and the MSM are you using? Do you’ve got a link? Since Imagesizer is not a first party addon, can you try without it? Does it work then?

  • #3 / Aug 13, 2009 5:37pm

    jbcobbs

    53 posts

    The new site is not completed yet. All I did was add a new site and that was it. After doing that, my main site loses images that use image sizer or phpthumb. I am using 1.6.8 of everything. the site is at http://www.feastoflittleitaly.com and the code above is for http://www.feastoflittleitaly.com/Entertainment

    Normal images that dont use the plugin work fine. I know its not first party but the fact thaty is messing up with image sizer and phpthumb make me think it might be something else im missing regarding MSM.

    Wierd part is if I delete the new site, everything works fine.

  • #4 / Aug 13, 2009 10:54pm

    jbcobbs

    53 posts

    I just switched to multiple site manager and now any custom fields that I created originally that reference images do not work anymore.

    Mod : Merged threads

  • #5 / Aug 13, 2009 10:58pm

    jbcobbs

    53 posts

    I took out the image sizer code and the images are still not parsing. Any tags that reference images are no longer working.

  • #6 / Aug 14, 2009 1:20am

    John Henry Donovan

    12339 posts

    jbcobbs,

    Check the File Upload Preferences for each site you have

    Admin ›  Weblog Administration ›  File Upload Preferences

  • #7 / Aug 14, 2009 1:53am

    jbcobbs

    53 posts

    Everything seems to be in order. Everything was working before the switch to MSM. After the switch, images dont show up anymore. What I did find though is that in the new site that I was setting up a couple of the images are showing up. Compare feastoflittleitaly.com to toli.feastoflittleitaly.com and you can see the images in the right sidebar show up in the toli site.

  • #8 / Aug 14, 2009 1:58am

    John Henry Donovan

    12339 posts

    jbcobbs,

    What is showing in each custom field for the particular entry on both sites?

    I am referring to what you see on the Edit page of an entry

  • #9 / Aug 14, 2009 2:02am

    John Henry Donovan

    12339 posts

    I just merged both your threads for you as both seem to be the same issue

  • #10 / Aug 14, 2009 2:21am

    jbcobbs

    53 posts

    This is the same code on both sites that is held in a sidebar embed.

    {exp:weblog:entries weblog="featured_banners" dynamic="off" orderby="date" limit="10" sort="asc"}
    http://www.feastoflittleitaly.com/{featured_banner_image}
    {/exp:weblog:entries}

    Thats the template code - the weblog entry has a title, ngen file field for the image upload and web link

  • #11 / Aug 14, 2009 2:24am

    John Henry Donovan

    12339 posts

    jbcobbs,

    What is showing in each custom field for the particular entry on both sites?

    I am referring to what you see on the Edit page of an entry

    Could you also answer the above please?

  • #12 / Aug 14, 2009 2:28am

    jbcobbs

    53 posts

    Sorry, I was editing the post asyou were writing…

    The weblog entry has a title - official sausage, url - official_sausage, ngen file field for the image upload - official_sausage.jpg and web link - http://www.weblink.com

    It is the same for both sites, part of a template.

  • #13 / Aug 14, 2009 2:41am

    John Henry Donovan

    12339 posts

    jbcobbs,

    ngen file field for the image upload

    Is this extension enabled for second site. Switch between both sites and check if the extension is enabled.

    Can you see the thumbnail beside the custom field in the entry page on both sites?

    Go into the ngen Custom field for the new site and check the upload location is correct

    Admin ›  Weblog Administration ›  Field Groups ›  Custom Fields

    Try re-saving the custom field

  • #14 / Aug 14, 2009 2:50am

    jbcobbs

    53 posts

    Everything checks out okay. Its all exactly the same on both sites. Tried the re-saving on both sites as well. Still no luck. Id be happy to give you access if you want to fiddle around in there.

  • #15 / Aug 14, 2009 3:05am

    John Henry Donovan

    12339 posts

    jbcobbs,

    When you created the new site did you Move or Duplicate everything in the settings, do you remember?

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

ExpressionEngine News!

#eecms, #events, #releases