Author Topic: [Solved] Thumbnails not resizing- no visible resized folder  (Read 4476 times)

tread77

  • Beginner
  • *
  • Posts: 5
[Solved] Thumbnails not resizing- no visible resized folder
« on: January 24, 2013, 21:09:40 pm »
I need some help.  I have 19k items on my site. 

I do not have a folder called "resized" under products that i can delete as suggested in other posts. 

When I add one it disappears.  I cannot get my 19k existing thumbnails to reset their size without manually using the replace thumbnail option in the listing itself. 

I am using the latest VM2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: No thumbnails on 19k items
« Reply #1 on: January 24, 2013, 22:30:03 pm »


I do not have a folder called "resized" under products that i can delete as suggested in other posts. 

When I add one it disappears. 



???


what do you have set for the "product media url" in vmart configuration???


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

tread77

  • Beginner
  • *
  • Posts: 5
Re: No thumbnails on 19k items
« Reply #2 on: January 24, 2013, 22:33:58 pm »
/home/proverbs/public_html/images/stories/virtuemart/product/ :: Writeable
/home/proverbs/public_html/images/stories/virtuemart/product/resized/ :: Writeable

When I add a directory in the product folder it is ok.  When I rename it to "resized" it disappears every single time. 

tread77

  • Beginner
  • *
  • Posts: 5
Re: No thumbnails on 19k items
« Reply #3 on: January 25, 2013, 15:52:57 pm »
So why does the resized folder disappear?  I have tried changing the permissions.  The products folder is 777 and won't allow me to change it to 755. 

Using firebug I can see the images are stored in that location but I don't see the folder in my FTP file manager at all.  I upgraded to the latest vmart 2.x and still have the error.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10000
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Thumbnails not resizing- no visible resized folder
« Reply #4 on: January 25, 2013, 18:06:25 pm »
Either there is a big misunderstanding of the relative urls, or your hoster is strange. I have absolutly no real idea
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27602
  • Always on vacation
    • Jenkin Hill Internet
Re: Thumbnails not resizing- no visible resized folder
« Reply #5 on: January 25, 2013, 18:38:21 pm »
  I have tried changing the permissions.  The products folder is 777 and won't allow me to change it to 755.

No directory should ever need 777 permissions unless you are inviting all hackers in!  If you cannot change it then check the directory & file ownerships as you may need to CHOWN the lot. As Milbo suggests it really does sound like a host issue
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: Thumbnails not resizing- no visible resized folder
« Reply #6 on: January 25, 2013, 18:52:15 pm »
tread77,

if you can figure out  the folder issue, creating the thumbs isnt hard (even thousands at a time)
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3551
  • using Matomo instead of Google Analytics
Re: Thumbnails not resizing- no visible resized folder
« Reply #7 on: January 25, 2013, 19:08:48 pm »
Just to give you an idea what the standard image paths look like in VM2 configuration - see screenshot below.
Does your Joomla Administrator  'Site - System Information - Directory Permissions' show everything in green (writable)?
A nice tool if you really need to change permissions yourself is 'extplorer', a component which is available in the Joomla extensions directory.



[attachment cleanup by admin]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

tread77

  • Beginner
  • *
  • Posts: 5
Re: Thumbnails not resizing- no visible resized folder
« Reply #8 on: January 29, 2013, 15:41:18 pm »
Issue was sheer size of the folder with 19k thumbnails and several sizes. 

dylanphelan

  • Jr. Member
  • **
  • Posts: 94
Re: [Solved] Thumbnails not resizing- no visible resized folder
« Reply #9 on: May 30, 2013, 17:57:55 pm »
I have a similar issue.

Last night i wanted to increase the size of my thumbnails.

I thought that if i deleted the contents of the /resized folder, then new thumbnails would be created.

I deleted the contents, but then all my thumnails disappeared. I eventually found that a new thumbnail was only create when i went into the product details and next to 'USED THUMB URL' deleted the url such as images/stories/virtuemart/product/resized/oscar_220x220.jpg

If i deleted that url then click on save, a new thumb appeared.

how can you create new thumbs without having to do this?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3551
  • using Matomo instead of Google Analytics
Re: [Solved] Thumbnails not resizing- no visible resized folder
« Reply #10 on: May 30, 2013, 18:12:17 pm »
Normally they will be recreated if 'Enable Dynamic Thumbnail Resizing?' is enabled in VM2 configuration - after clicking on 'Save' in the VM configuration.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

dylanphelan

  • Jr. Member
  • **
  • Posts: 94
Re: [Solved] Thumbnails not resizing- no visible resized folder
« Reply #11 on: May 30, 2013, 20:29:05 pm »
Hi, yes i understand that. I have 'enable dynamic thumbnail re-sizing' enabled.

My issue is like what the original poster said though: If i delete images in the /resized folder - they are not automatically recreated.

It is only when i clear the 'USED THUMB URL'  field and click on save that they are recreated.

I need to be able to resize all my thumbnails in one go.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3551
  • using Matomo instead of Google Analytics
Re: [Solved] Thumbnails not resizing- no visible resized folder
« Reply #12 on: May 30, 2013, 21:50:47 pm »
Just tested it with a fresh VirtueMart installation (I always disable the thumbnail creation on my own websites, because I prefer to do that with an image editor).
To make shure that VirtueMart recognized all your full images, you can click on 'Tools' > 'Tools & Migration' > 'Synchronize media to Virtuemart' first.

The best way to recreate all thumbnails seems to be to 'Enable Dynamic Thumbnail Resizing' with the desired dimensions (if you like, you could enter i.e. a width value only, in order to keep the aspect ratio), click on 'Save' and then go to 'Shop' > 'Media Files' in the VM administration menu. When you open the 'Media Files' view, the thumbs should be recreated.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

dylanphelan

  • Jr. Member
  • **
  • Posts: 94
Re: [Solved] Thumbnails not resizing- no visible resized folder
« Reply #13 on: May 30, 2013, 23:59:28 pm »
Thanks - I'll try it that way next time I need to change sizes.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10000
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [Solved] Thumbnails not resizing- no visible resized folder
« Reply #14 on: June 03, 2013, 22:49:59 pm »
The version 2.0.21C is exactly addressing this problem. There is now an extra tool in the BE in "Tools". there you can delete your old thumbnails, set a new size and they are recreated on the fly.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/