- This topic has 3 replies, 2 voices, and was last updated 8 years, 4 months ago by Tom.
-
AuthorPosts
-
April 26, 2016 at 8:34 am #189513Laura Brown
I’m spending a lot of time dealing with problems due to image sizes and I’m at the point of no return. I am disabling thumbnail sizes in WP. I will then spend hours going through all the duplicate images created due to thumbnails, PressThis doubles, and so on. But, I’m hoping this will be the last time I have to do this.
Is there an easy way to disable the creation of thumbnail sizes with GP? Could GP have the option to disable thumbnails (a checkbox) built in with the Customizer or the Add-ons?
I know thumbnails are wrapped up with the featured image display. So I will not have a featured image with my posts, which means they will appear text only on the main page of the site. Not my first choice but still better than all the time I’ve wasted trying to stop image problems over the years.
This is not a GeneratePress error (for those reading and wondering). This is a WordPress problem mainly. Developers and designers consider this a user error. They believe the average user should just be able to figure this out. There are endless support tickets opened for this in one way or another. Most are very old, closed for comments, or ignored these days. You can try a lot of plugins which try to fix some part of the problem but the real problem is how WordPress works with images. It is not clear cut and simple and the Media Library is a mess of chaos to deal with – if you have a lot of images. In trying to make images a feature they have given a lot of options but they have not been taking care of how those features work together (or don’t) in actual use.
April 26, 2016 at 10:05 am #189546TomLead DeveloperLead DeveloperHi Laura,
Have you tried going to “Settings > Media” and setting the thumbnail width and height options to 0?
I believe that will stop WP from creating the thumbnail images.
Let me know 🙂
April 27, 2016 at 1:10 pm #189868Laura BrownHi Tom. Yes, I know about that much. I’ve got the thumbnail regenerate plugin from Viper set to go once I set the WP image settings to zero. I wanted to check in and disable any image resizing/ thumbnails from GP. That way I can run the regeneration plugin and (I’m hoping) a lot of the doubled images will get taken out. That will still leave the current problem with double images uploaded with a different file name… which has nothing to do with GP.
I’ve been working on this since the last big update for PressThis. Until then I did have the image stuff working ok. Anyway, I know you are super busy with a new baby and yet still come in here and help everyone on top of freelancing/ designing. I will fix one site and see if that fixes the images. If it works I will do the same on all of them.
I just wanted to know if I would need to disable image thumbnails with the GP theme as well as the Media Library settings in WP. If GP takes the settings from WP (for thumbnails) I won’t need to deal with any CSS editing.
April 27, 2016 at 11:27 pm #189947TomLead DeveloperLead DeveloperYou can disable the image resizer in Blog and Page Header with this snippet if it helps: https://gist.github.com/generatepress/fcbb9065a958e6e0f9ef
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
-
AuthorPosts
- You must be logged in to reply to this topic.