0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

SOLVED Mystery plug-in or other destroying image settings

  • SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • I am using JCE Media Box to manage a blog-type page on my client's site, here:

      www.canyoneeringcentral.com/capitol-reef...ueeze-with-ryan.html

      The problem is some plug-in or other is changing my image formatting while the page loads. All images on the page are set to 700 px wide (you can see this if you View Source). BUT in Firebug all images after the first 4 have width set as "Auto". So something is changing the setting when the page loads via Javascript (?), but I can't figure out what it might be. Any ideas? I have emailed extensively with the JCE support, and they have been largely unhelpful.

      Thanks!
      Nick
    • Last Edit: 14 years 2 months ago by Nick Wilkes.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 956
    • Volunteer

    Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • Did you try to disable the smart-loading feature in Gantry?
  • Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • No, I don't even know about that. I will go look for it in Template Manager.

      Thanks, Henning. NW
  • Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • Perfect! That solved the problem instantly. I've been trying to fix that for WEEKS.

      So I notice you can ask Gantry to ignore certain components while keeping Smartload on. I tried ignoring "com_JCE", but that didn't work. I know the image presentation is controlled by a component (JCE) and a couple plug-ins (Media Box, Image Manager), so perhaps I can't use the "ignore" option? Will disabling Smartload hurt my site performance?

      Thanks again for the solution.

      Nick
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 956
    • Volunteer

    Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • Try to use "XPath Ignores"

      like
      span.jcemediabox-zoom-span

      or give your image a width and a height attribute ...
  • Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • Hmmm... I don't understand this. Are you saying, for example, I should type "span.jcemediabox-zoom-span" in the "Ignore" field for Smartload? How would I find the correct path to enter?

      Feeling ignorant here. Sorry for my ineptitude.

      Nick
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 956
    • Volunteer

    Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • The selector you add to "x-path-ignores" is an element that surrounds the img you want to be not affected by the smart-loading feature. I hope my screenshots explains that a bit better ...
  • Re: SOLVED Mystery plug-in or other destroying image settings

    Posted 14 years 3 months ago
    • Thank you for the further explanation, Henning. I understand your suggestion now.

      I tried "span.jcemediabox-zoom-span" in XPath Ignores, but it did not work. I can try something else, but I wouldn't know what to try.

      Is it important/helpful to leave Smartload functioning? Is it part of site optimization?

      Nick

Time to create page: 0.120 seconds