• 0

DMS 1.0.3 Forces Full Size Images in Pages

Question

Posted · Report post

Hello,
 
I just upgraded to DMS 1.0.3 and noticed a bug.
 
On a page, where I have a code for an embedded medium-sized image that floats right, the theme forces the display of the full uploaded image in the top center space. Here is my code:

<a href="http://myurl.org/wp-content/uploads/2013/08/image.jpg"><img class="alignright size-medium wp-image-155" alt="image" src="http://myurl.org/wp-content/uploads/2013/08/image-287x300.jpg" width="287" height="300" /></a>

This *should* produce a floating right image sized at 287x300. In fact, the WP visual editor shows it properly. When I load the actual page, however, the image is full size at the very top of the page content.

 

Any ideas?

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

I found the problem. It is the 'Photon' feature of Jetpack. For some reason, it got switched on automatically and caused this problem. Disabling it returns the normal functionality.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I am having the exact same problem. My code reads : <img class="alignright size-full wp-image-737" alt="Lisa Vorce Event Design and Production | Our Event Production Studio Sample 1" src="http://75.98.169.80/~pbpros13/lisavorce.com/wp-content/uploads/2013/07/1016.jpg" width="412" height="275" />

It was dispalying correctly and now it isn't. I'm not sure if it has anything to do with the new update, but my assumption is that it does.

 

Website page: http://75.98.169.80/~pbpros13/lisavorce.com/our-event-production-studio/destination-weddings-and-our-philosophy/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Images do not scale in all browsers.  IE doesn't scale anything.  Use specific height images modified in your graphics editors and don't expect scaling to work.  That's the best philosophy. 

 

IE won't even resize or scale thumbnails in many cases. Just use your graphics editor, and if you want a larger image opening in a modal, have it link to the larger of two.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

What kind of response is this?

 

WordPress apparently has a core functionality by which you can specify different sizes of images to appear in posts. This functionality is working well within the WordPress backend, since the images show up fine in the Visual Editor.

 

When the images get moved out to the user through DMS, something breaks the core functionality. What I should see in my source code is "wp-content/uploads/2013/08/image-287x300.jpg", but what I actually see is "wp-content/uploads/2013/08/image.jpg", which means the full image is being passed over to the user.

 

The solution is not for me to abandon scaled images. DMS works with WordPress and it should respect this core functionality. The solution, it seems, is for someone to find the bug in DMS and patch it.

 

In the meantime, I will go back to v. 1.0.2, which works fine. REMOVED by MODERATOR

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

@eusebius   I'm sorry to say but we don't custom tailor answers to what you want to hear, but speak the truth in our replies as best we have them. Scaling of images is a well known, long documented WP problem. http://wpquestions.com/question/showChrono/id/7847

 

http://forum.bytesforall.com/showthread.php?t=12023

 

So, from the links above, you can see I'm speaking honestly and truthfully.

 

If you searched the Framework forum, you'll read hundreds of topics describing similar issues.  It's not DMS and it's not PageLines Code.  I'm editing the last comment, which seemed very inappropriate, considering this information.

 

While WP has a core functionality, it doesn't mean that every browser works with it.  Browser systems vary and render things differently.  A font in one may look somewhat different in another.  It's just a fact professional designers and developers accept.

 

If you'd like me to look at your site to see if there's anything odd, I'll be happy to do so. Private Message the URL, please.

 

You might also wish to disable plugins, to see if this resolves it, but I'm doubtful.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hmm, I think we got off to a wrong start. I really don't think you understand the issue or read my post carefully, because the links you shared have nothing to do with my issue.

 

Let us start from the beginning.

 

1. Wordpress has a core functionality by which a user may display a scaled version of an image uploaded to the media library.

 

2. This functionality does not use CSS or any browser technology to scale the images (as your links presuppose). Instead, Wordpress actually creates a new version of the image that is scaled to the size chosen by the user. For example, if I upload image.jpg, Wordpress will create a version named image-287x300.jpg. I cannot stress this enough, but this is a completely new image generated by Wordpress.

 

3. This functionality was broken by DMS 1.0.3. How so? Before 1.0.3, if I embedded the image using the 'Medium' preset, my source code would reflect an img src to image-287x300.jpg. This is the NEW image created by Wordpress. This image DOES properly show up in the Visual Editor preview. However, DMS breaks it somehow when I visit the actual page. When I look at the source code expecting to find a reference to image-287x300.jpg, I actually find a reference to image.jpg, which is the full sized image.

 

What I can gather from this, despite my limited knowledge, is that this has nothing to do with image scaling in the browser, because I am simply embedding a version of my image that Wordpress already scaled into a new file. 

 

This is a DMS problem, not a Wordpress problem. How so? Wordpress shows the image perfectly in its backend. DMS messes it up in its frontend. There must be a function that is off somewhere. I did not update anything other than DMS to 1.0.3, so I am fairly certain the problem is there. Also, the fact that DMS 1.0.2 works perfectly fine supports the conclusion that the bug is in 1.0.3.

 

Please fix it.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for informing us that the issue has been resolved. Just our of curiosity, would it be possible to link a screenshot of the issue please when Photon was enabled.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

A screenshot would be nice.

 

IE's full-size issue happened to after upgrading to DMS 1.0.2 for me and now againg to DMS 1.0.3. However, if I return back to the editor and edit the image to the right size again. The size is correct again...

 

I am not a developer, but could it be due to an image cache, that is deleted under the DMS upgrade?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now