Using the JM Casual Theme…

How can I prevent the images from re-sizing? Also, the only way for me that I know of that is quick and easy to upload images to the slideshow is to use the CMS pages, any one of them, to use the image insert (without actually inserting new images into the page I have opened) into the slideshow folder(s). 
For example, I uploaded a new August promo image named august2015.jpg. Images get re-sized and well as render from a re-sized folder(s). After uploading a new promo image the image in which is rendered or displays is http://shopthewolfeclinic.com/media/resized/media/jmslideshow/twc/august2015_858_270.jpg
After I upload a new image into the slideshow folder(s) using the CMS pages, I now use FTP and upload the original image to the folder, delete the ‘august2015_858_270.jpg’ image, then rename the august2015.jpg to august2015_858_270.jpg to display the original image at a higher resolution. 

12 answers

Profile photo of Ziven Staff 100280.00 $tone August 3, 2015
Public

Hi Mark,
Are you try delete the folder “Media/resize”?
Please try delete it. Because the slideshow will have resize images to this folder.
Best Regards,
Ziven.

#1
Profile photo of Mark Porter 240.00 $tone August 5, 2015
Public

How can I turn off the resizing of images that go to this folder? If I load up a 100k image, can it be the same in the resized folder(s)? 
Why does the slides / images render from the resized folder vice the original folder in which the slides/images were uploaded?

#3
Profile photo of tuan le van 11570.00 $tone August 18, 2015
Public

Hi
If you don’t want to resize the images. please go to the file app\code\local\JoomlArt\JmSlideshow\Helper\Data.php
In line 338 
change 

$thumbs[] = $jaImage->resize($image, $width, $height, $crop, $aspect);

to

$thumbs[] = $image;

Best regards,
Kan

#4
Profile photo of Mark Porter 240.00 $tone August 18, 2015
Public

Talking about file size, not image size… If I load up a 200k image, it says 200k in the slider folder, but it would be 160k in the media / re sized / slider folder and the files in that folder are the ones that display on the frontend…
If I load up ‘august.jpg’, it stays ‘august.jpg’ in the slider folder, but in the media / re sized / slider image folder it is renamed ‘august_858_270.jpg’ and as long as ‘august.jpg’ is in the slider folder, ‘august_858_270.jpg’ will display. If and when ‘august.jpg’ is removed or deleted, ‘august_858_270.jpg’ stays in the media / re sized / slider image folder but will not display….
Guess what I’m trying to say is I would like the image ‘august.jpg’ that is 200k be ‘august_858_270.jpg’ AS 200k as well.. not reduced to 160k

#5
Profile photo of tuan le van 11570.00 $tone August 19, 2015
Public

Hi
I need a closer look to detect the root of the issue. Please provide me the url, admin and FTP credentials of your site.
Best regards,
Kan

#6
Profile photo of Mark Porter 240.00 $tone August 19, 2015
Public

There isn’t a ‘root of the issue’, it is how either how Magento uploads images and/or how the JM Casual template works/displays the slideshow images.
If I use the CMS pages, the upload image on ribbon bar, and upload augbtst.jpg, it will stay augbtst.jpg:
http://shop.toolsforhealing.com/media/wysiwyg/jmslideshow/augbtst.jpg
On frontend, at http://shop.toolforhealing.com, if you view properties of the slideshow image you’ll see that the image(s) come from:
http://shop.toolsforhealing.com/media/resized/media/jmslideshow/augbtst_858_270.jpg
As long as augbtst.jpg is in the /media/wysiwyg/jmslideshow folder, the image augbtst_858_270.jpg will display. Once augbtst.jpg is removed or deleted, the image augbtst_858_270.jpg actually resides or stays in the /media/resized/media/jmslideshow folder but will not display.
A while back, I had 20+ images in the /media/resized/media/jmslideshow of past promotions/banners. They don’t show any longer due to the promotion/banner in the /media/wysiwyg/jmslideshow folder were removed/deleted.
So, when a image is added to the /media/wysiwyg/jmslideshow folder, it is ‘copied’, added to the /media/resized/media/jmslideshow folder and the resolution is reduced. Not the overall size, just the resolution. If augbtst.jpg is uploaded and is 200k, it will be 160k in the /media/resized/media/jmslideshow folder thus on the frontend, the image I uploaded is somewhat degraded and what I do is use my FTP and upload augbtst.jpg to the /media/resized/media/jmslideshow folder and delete the automatically added image of augbtst_858_270.jpg and rename the augbtst.jpg I just added to the same filename I just deleted so that instead of the 160k image, it will show on the frontend the 200k image.
So either there is a script by Magento or the theme that ‘says’ that for an image to display on the frontend, 2 files must exist, one in the /media/wysiwyg/jmslideshow folder and one in /media/resized/media/jmslideshow folder.
What I would love is to undo the file resolution reduction that happens when a 200k image is uploaded.

#7
Profile photo of tuan le van 11570.00 $tone August 24, 2015
Public

Hi Mark Porter
Your idea is alway display the 200k images. 

Hi
If you don’t want to resize the images. please go to the file app\code\local\JoomlArt\JmSlideshow\Helper\Data.php
In line 338 
change 

$thumbs[] = $jaImage->resize($image, $width, $height, $crop, $aspect);

to

$thumbs[] = $image;

Best regards,
Kan

#8
Profile photo of tuan le van 11570.00 $tone September 3, 2015
Public

Hi Mark ,
You can be using the old extension . you can go to the line have a line code. 

$thumbs[] = $jaImage->resize($image, $width, $height, $crop, $aspect);

Have a look and let’s me know how it goes.
Best regards,
Kan

#10
Profile photo of tuan le van 11570.00 $tone September 3, 2015
Public

Hi
You go to the file app\code\local\JoomlArt\JmSlideshow\Helper\Data.php not app\code\local\JoomlArt\JmSlideshow\Block\List.php.
Best regards,
Kan

#12

Please login or Register to Submit Answer

Written By

Comments