Drupal and image size

vdub12

New Member
Reaction score
2
I have one post that no mater what I do the images look 4 times there appropriate size.

Here is the link

http://www.cybercpu.com/node/11

I have tried posting the images in a different post and they are still huge. I have renamed them and changed there file type to png to rule out caching and they are still huge. No mater what i do these 3 specific images are huge. even if posted separately.

Now when I am logged in they look fine, they are only huge to an anonymous user. I have looked at the source for both and when I am logged on the image tags are right like this.

<img src="/sites/default/files/1.png" width="60" height="70">
<img src="/sites/default/files/2.png" width="76" height="70">
<img src="/sites/default/files/3.png" width="58" height="70">

However, if an anonymous user is viewing the site the image tags looks like this

<img src="/sites/default/files/1.png" width="180">
<img src="/sites/default/files/2.png" width="180">
<img src="/sites/default/files/3.png" width="180">

I don't understand why the image tags change based on the user that's logged in. I am using TinyMCE 3.3.9.3 as my Wysiwyg editor. I don't think the problem has anything to do with the editor because I have tried to post the HTML directly in a php input format just to rule out the editor and got the same results.

I have noticed that some images on the site also are affected but not to the degree that these are. Some are scaled larger by me but only displayed larger when I am logged on anonymous users see them as there original size. Some images are perfect no mater who is logged in.
 
Nothing seams to be relevant to image tags or images at all.

I did notice I had the admin panel accessible to all users but it didn't show anyway.
 
I just tried creating a new user to see if normal users where affected to and they are.

It seams like the only user not affected is the admin account.
 
I just figured it out.

I had installed the mobile plugin so I could create a mobile version of the site.

Apparently it was automatically displaying the mobile version of images to all users except the admin account.

I just disabled the plugin and everything works great now.
 
I am using IMCE to do image uploads from the editor directly.

Is the image module better?

Ah, if you're using a WYSIWYG then just keep it the way it is. That image module is basically there if you want to keep the vanilla drupal editor.
 
Back
Top