Author Topic: [SOLVED] Category and Product Image Thumbnail Resizing  (Read 48265 times)

markholland8

  • Beginner
  • *
  • Posts: 37
[SOLVED] Category and Product Image Thumbnail Resizing
« on: November 09, 2011, 14:08:30 pm »
Hi All,

Using VM2 with Joomla 1.7

I have set the category image size and Thumbnail size from 90x90 the 250x250 but it hasn't changed anyone got any ideas why this is or do i need to do something else.

Thanks in Advance Mark

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: Category and Product Image Thumbnail Resizing
« Reply #1 on: November 09, 2011, 15:38:20 pm »
EMPTY the resized folder.

make sure dynamic thumbnails are turned on.

THEN, when each page is requested, it automatically recreates them
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

markholland8

  • Beginner
  • *
  • Posts: 37
Re: Category and Product Image Thumbnail Resizing
« Reply #2 on: November 09, 2011, 16:29:39 pm »
That worked many thanks for your quick reply

chocolatepudding

  • Jr. Member
  • **
  • Posts: 65
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #3 on: December 01, 2011, 16:24:11 pm »
Hello,

Tried that but now thumbnails don't show at all.

I'm using Joomla 1.5 and the VM that is not VM 2 LOL!

Thanks.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #4 on: December 01, 2011, 16:35:42 pm »
Hello,

Tried that but now thumbnails don't show at all.

I'm using Joomla 1.5 and the VM that is not VM 2 LOL!

Thanks.

for 1.1 version
http://forum.virtuemart.net/index.php?topic=63195.msg216496#msg216496
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jaybird2024

  • Beginner
  • *
  • Posts: 32
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #5 on: December 28, 2011, 03:42:04 am »
Hi,
I am using virtuemart 2.
I have emptied the resized folder and have Dynamic thumbnail resizing enabled.
Thumbnail size increased from 90 to 220.

The category product list still has very small images.

When I right click to view the image, I can see that it is resized to the larger size but does not display that way on the site.

It seems that virtuemart is resizing the image but the html is not providing img size properties into the page.
View source-code on browser shows   

<img src="/images/stories/virtuemart/product/resized/product_220x220.jpg" alt="Magnum Beefsteak" class="browseProductImage" border="0" title="Italian Beefsteak"  />

Should look like:
<img src="/images/stories/virtuemart/product/resized/product_220x220.jpg" width="220" height="220" alt="Magnum Beefsteak" class="browseProductImage" border="0" title="Italian Beefsteak"  />


Anyone have an idea how to fix this or why it may be happening?

Thanks

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #6 on: December 28, 2011, 11:26:09 am »
jaybird, the css container is going to resize it if its not as big as the picture.

Change the css, or html container for the image
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jaybird2024

  • Beginner
  • *
  • Posts: 32
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #7 on: December 28, 2011, 19:38:16 pm »
BTP, thanks for the quick response.
I am no where near expert in php, etc so please pardon all the questions.

Ok so let me see if I got this right, the VM backend only changes the pic size, to have it reflect that on the page then css and html must be changed.

1 You say change the css or html container, where is that defined, what files? Are you talking about joomla template files or somewhere in the VM files?
2 what does that code look like that I am searching for in those files?
3 Do I have to hand code the exact size in the files or just tell it to autoresize?
4 And what should the fixed code look like when done?

Thanks again, sorry for all the questions.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #8 on: December 28, 2011, 21:08:11 pm »
com_virtuemart/assets/css/vmsite-ltr.css    ( for left to right browsers)


To analyze css
http://forum.virtuemart.net/index.php?topic=73348.0

BUT, i just looked and this will be what you change
com_virtuemart/views/category/tmpl/default.php

<div class="width30 floatleft center">
               <?php /** @todo make image popup */

THE width30    has css applied to it of width:30%

SO, you enlarge it, or just take out width30

ALSO, you should do a layout override, and not modify the original file.
http://forum.virtuemart.net/index.php?topic=90935.0
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jaybird2024

  • Beginner
  • *
  • Posts: 32
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #9 on: December 29, 2011, 07:44:18 am »
BTP, thanks a million, much appreciated.
I will review the links you posted for me and examine the files as you stated.

Thanks again
J

mensah

  • Beginner
  • *
  • Posts: 1
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #10 on: January 07, 2012, 07:19:59 am »
TO:BanquetTables.pro

Thanks for you post, but I didn't find the :div class="width30 floatleft center">
               <?php /** @todo make image popup */
in the folder:com_virtuemart/views/category/tmpl/default.php

so what to do to resize my thumbnails, pls be noted i am using VM2.0.


tKS!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #11 on: January 07, 2012, 13:30:05 pm »
the newest version has this
<div class="additional-images">

so look in the css
http://forum.virtuemart.net/index.php?topic=73348.0

and change the width (if it has one)

if not, to resize the images, you neeed to change the default image size in the vmart cnfiguration.

THEN, make sure dynamic thumbnails are turned on.
DELETE the images that are in the /resized/ folder, and the new size will automatically be created

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

cvoogt

  • Jr. Member
  • **
  • Posts: 50
    • Plethora Design
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #12 on: March 23, 2012, 00:53:05 am »
I found myself having to use CSS for this as well, but this is not a great solution, especially with large images. It adds a lot of unnecessary load time.
I find myself wishing for GD Image or ImageMagick to be integrated (again) with VirtueMart. That appears to have disappeared. It's understandable since the new VM is a total rewrite.
CSS will have to do for now, I guess, or otherwise manually uploading thumbnails that have been created on my PC. But I can't expect my customers to do that ... they should be able to simply upload a product image and forget about it.

ksoender

  • Beginner
  • *
  • Posts: 3
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #13 on: March 23, 2012, 12:05:14 pm »
I have virtuemart 2 and Joomla 1.7 as well.

It seems that My system has screewed up a bit as well. My pictures are resized as thumbnails. but not as product images in the product category. e.g. I have a large picture, say 640X480. My configuration is set to 150X150, but the product page now shows the full picture at 640X480 in the product details page.

Is this an error in my CSS in the template?

Ksoender

jakobe

  • Beginner
  • *
  • Posts: 36
Re: [SOLVED] Category and Product Image Thumbnail Resizing
« Reply #14 on: March 31, 2012, 00:54:51 am »
I am running into this issue as well, I have to do 20 different things for each page, category, product and image.
just ot "see" what it looks like....just ot test out a lyout I have to modify the entire sites css.....


its a joke...

I have never decided to abandon virtuemart before, but this is unacceptable to have to make all of the changes to the css just to get one category and set of products in place.

my customers will explode when they find out they have to learn how to resize and calculate this on their own,

I am looking into other cart options for Joomla now, I am disappointed in the developers and moderators of Virtuemart, very disappointed. It seems you are actively working against making this easier and smoother to use,

you would rather pack in a ton of features and expect everyone to edit code. You guys may know how to build shopping software, but you dont know anything about what a consumer wants or what a shop manager wants.
This platform lacks the most basic ease of use functions.

I have used VM for many years and saw the community growing, now I see frustration and aggravations and a system that has become so complex that nobody can easily manage it without consulting the forum.

My customer has requested this install because of VM affiliates and he loves the affiliate program, sadly I dont think its in his best interest to pursue this project on VM anymore.