I had 7.x-1.2 installed. Trying to upgrade to dev. It's simply not working. Images load as _normal style no matter what. I tried installing over the top, uninstall, then clean install the dev version and setup again (speaking of, the check box on the content type's field that reads "Apply responsive images and styles to this field" doesn't get cleared - after an uninstall and reinstall, it's already checked).
After a clean dev install I copied the current release over the top and it worked again. So I installed the dev version over the top again and it broke. Moved only the .js file from the current release into the dev folder and it is now working again. So I believe the .js file to be the culprit.
Any ideas?
Thanks!
Kirk
Comments
Comment #1
attiks commentedComment #2
jelle_sI just updated from 1.2 to the dev version myself and everything seems to work as expected. Your images, are they image fields, images embedded in a textarea (like the body field) or something else?
Do you get any javascript errors with the js file from the latest dev version?
Comment #3
kirkofalltrades commentedI am testing it two ways. Image field setup in a new content type and the Media module integration on my basic page content type.
I setup a fresh Drupal 7.14 install for a new site we are doing. First thing I did after initial setup is install 7.x-1.x-dev branch and it's not working.
No matter what the size of my viewport is, it's pulling the image from my widest style (inline_normal). If I resize the viewport it stays the same, even if I refresh. This is the case when viewing my new content type's node (resp_img setup on field) or in my basic page content type.
However, once again, if I replace the resp_img.js from the dev version with the 7.x-1.2 release, it starts working instantly, both the field formatter and media integration.
No javascript errors.
Media Module Integration
http://new.travelhealthservices.net/node/1
Image Filed in custom content type
http://new.travelhealthservices.net/node/2
Thanks,
Kirk
Comment #4
attiks commentedDid you try different browsers, any javascript hours
Comment #5
kirkofalltrades commentedOk, I figured it out.
The root cause of the issue is the fact that viewport width is being determined differently now. Had a co-worker bring up one of the pages in Firefox to see if it was a local problem and she said it worked fine, until she turned on Firebug. Then it stopped working.
So I started messing around and realized that the Firebug UI (which I have attached to the right side of the browser) is being calculated into the width of the viewport. Moved the viewport to the bottom and it works.
On a side note, it appears that other elements (like the history sidebar in Firefox) will cause this same issue - add to the width of the viewport and cause the images to change incorrectly. Not sure if there is a better solution, but this one may cause problems.
Thank you!
Kirk
Comment #6
attiks commentedComment #7
attiks commentedComment #8
attiks commentedComment #9
attiks commented