Author Topic: Size of images  (Read 10241 times)

quadbsys

  • Beginner
  • *
  • Posts: 9
Size of images
« on: May 30, 2012, 20:07:56 pm »
Where do you set the sizes of images? I found where to set the size of the thumbnail, but is there a way to set the size of the medium image that VM generates?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Size of images
« Reply #1 on: May 30, 2012, 20:51:11 pm »
There is deliberately no such setting in VM2 configuration for the product images in order to keep users from the bad habit to upload huge images while they actually need much smaller ones and in this way urge them to adjust the images to the correct size before uploding them into VM2.

The reason basically is this:
Upload huge images which have to be resized by the system = binding unnecessary system resources + slow website + unsharp images
Upload pre-adjusted images (optimized with Photoshop, IrfanView or one of many other photo editors) in correct size = using less system resources + fast website + sharp images.

My VM2 shop currently holds 1600+ images :)

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

rflores2323

  • Beginner
  • *
  • Posts: 27
Re: Size of images
« Reply #2 on: May 30, 2012, 22:57:44 pm »
what is a good size to upload the images?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Size of images
« Reply #3 on: May 31, 2012, 07:30:35 am »
what is a good size to upload the images?
That's more or less a matter of personal taste and the template you are using.
Personally I use (in width) 175px for the thumbnails, 350px for the main product image and 750px for large additional product images.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

KarlRanseier

  • Beginner
  • *
  • Posts: 32
Re: Size of images
« Reply #4 on: June 03, 2012, 19:13:48 pm »
Would be nice to have not just a thumbnail option. I think many sites would like to provide thumb, medium and large images. Large for fullscreen view, like the integrated javascript box (facebox, lightbox, whatever-box) view. its sadly to see the same size on the product detail page and when i click on it, it doesn't get bigger.

Would be nice too, if the image dimension are stored in the db and written in the img tags.
Joomla 2.5.4 - VM 2.0.8c - custom template

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Size of images
« Reply #5 on: June 03, 2012, 19:43:45 pm »
sadly to see the same size on the product detail page and when i click on it, it doesn't get bigger.
...simply attach a larger second image to the product.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

KarlRanseier

  • Beginner
  • *
  • Posts: 32
Re: Size of images
« Reply #6 on: June 03, 2012, 21:30:10 pm »
hm its not that simple... i always have to upload 2 pictures. And i have to create the correct link to the larger image, which is not that easy because there is no reference in the database or no extra folder with the same name of the picture in it. And Image editing is a pita right now.
just saying would be nice to have an extra option for medium size images nor just for thumbnails.
Joomla 2.5.4 - VM 2.0.8c - custom template

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Size of images
« Reply #7 on: June 03, 2012, 21:51:00 pm »
hm its not that simple... i always have to upload 2 pictures. And i have to create the correct link to the larger image, which is not that easy because there is no reference in the database or no extra folder with the same name of the picture in it.
It's very easy. Basically you just have to upload images to your image folder(s) and then click on 'Syncronize Media to Virtuemart' in your VM2 'Tools & Migration' view. Thereafter you can see the images in your 'Media Files' list (make shure your new files are published) and you can edit the image information either from the Media List view or (after searching and selection the image filename) in the Product details view.

However, it makes sense to think a little bit about your image folder(s) structure and image filenames before you add a lot of images. (I currently have 1600+ images in my shop and this part of VM2 works very well)
Also, see the above first and second post in this forum thread
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

KarlRanseier

  • Beginner
  • *
  • Posts: 32
Re: Size of images
« Reply #8 on: June 04, 2012, 13:08:21 pm »
Thanks, thats good to know that you can manage your images with the native joomla 'media files' and import them. creating an useful structure is way easier now, even its a workaround.
i'll give it a try later, thanks jjk
Joomla 2.5.4 - VM 2.0.8c - custom template

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Size of images
« Reply #9 on: June 04, 2012, 13:20:57 pm »
..with the native joomla 'media files'
I was talking about Virtuemart's own media manager. In the Joomla media manager you can't edit the image information.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

KarlRanseier

  • Beginner
  • *
  • Posts: 32
Re: Size of images
« Reply #10 on: June 04, 2012, 15:07:14 pm »
oh ok.
so every time you upload an image, you have to type in the right folder path? not very user friendly. mistakes can happen very easily.
The folder 'typeless' seems to be the default. where do the images go after synchronization? to '/images/stories/virtuemart/product/'?
so i don't really have an option to structure my files and folder.
sorry maybe i don't get it.

right now i can't test the synchronization that easy.

What i want is  like this:

medium imagesto
'/images/stories/virtuemart/product/medium/'
and the large to
'/images/stories/virtuemart/product/large/'

is there a file/folder browser in development?

thanks
karl
Joomla 2.5.4 - VM 2.0.8c - custom template

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3549
  • using Matomo instead of Google Analytics
Re: Size of images
« Reply #11 on: June 04, 2012, 16:47:17 pm »
I'm still using this structure of image folders:
http://forum.virtuemart.net/index.php?topic=91474.msg300366#msg300366
However, I usually don't use the VM2 image upload feature. Instead I copy them directly into my VM2 image folders (could be i.e. 100 images at once)
If you like you can use the Joomla media file manager of course. See here: http://cocoate.com/de/screencast/de0023
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations