terryclothdoll
Forum Replies Created
-
Forum: Plugins
In reply to: [Regenerate Thumbnails] Resize FailuresAnother point to consider is that, for me at least, I was only running out of memory because the originals for most of my uploaded images were huge, high quality photos. If you can’t increase your memory limits, you might also try using somewhat smaller images.
Let us know if this helps ??
Forum: Plugins
In reply to: [Regenerate Thumbnails] Resize FailuresI eventually found my way to my web host’s control panel’s error logs. (For some reason they don’t make it easy to look at my own server logs…)
Turns out there were a *ton* of error messages about PHP running out of memory. You can configure WordPress to increase its memory usage. And you can increase PHP’s memory limit and uploaded file size limits by editing these lines in your php.ini file. They may be scattered around the file, if it’s loaded with explanatory comments, or you may need to add these lines yourself:
memory_limit = 64M post_max_size = 20M upload_max_filesize = 20M
OP, try making those numbers bigger. Of course, there will be a hard upper limit to what you can set — like, your web host probably won’t let you allocate a terabyte of memory to your PHP scripts… So you’ll also have to talk to your host’s tech support about how much you’re allowed to do.
- This reply was modified 8 years, 2 months ago by terryclothdoll.
Forum: Plugins
In reply to: [Regenerate Thumbnails] Resize FailuresI’ve been experiencing this issue too, but “SetEnv MAGICK_THREAD_LIMIT 1” in my .htaccess file hasn’t helped. Any chance the actual plugin developer(s) read the support forums?
I’m using Regenerate Thumbnails 2.2.6 with WordPress 4.7 on a small shared hosting plan providing PHP 5.3. I can add more specific debug information if you tell me where to look.
- This reply was modified 8 years, 2 months ago by terryclothdoll. Reason: add more specific details about debug setup
Forum: Themes and Templates
In reply to: [Athena] Allow both a logo image *and* text in the header@skyle
Sure thing. Trying to edit code snippets here in the WordPress forum is a little clunky, so I made a snippet on GitLab.https://gitlab.com/snippets/19635
This has the original markup, my edited verison of the markup, and the relevant CSS. Feel free to edit the styles to suit your needs and taste.
As you can see, it’s not a significant change to the header.php markup, and the custom CSS would be even smaller if merged with the theme’s default stylesheet.
Forum: Themes and Templates
In reply to: [Athena] Allow both a logo image *and* text in the headerI was able to do it myself — just some small changes in the markup of
header.php
and a couple related style rules. The only problem is that it would be a little annoying to have to re-editheader.php
every time there’s a theme update (and forking the theme would mean not receiving theme updates).Spacing would be an issue for very wide images, but a roughly square image fit pretty nicely for me when I was setting up this WordPress site for my brother. Implementing it in configurable PHP would be a little more complicated than just the plain HTML and CSS, and maybe you have other priorities right now — but as a problem of page design, logo + text is certainly feasible.
Forum: Themes and Templates
In reply to: [Athena] Allow both a logo image *and* text in the headerIt’s been about a week. Any thoughts on this, SmartCat?
Thanks.
Anybody?
Aha! Looks like I misunderstood the WP Codex article.
Thanks for you help.
Contents of
virtue-child/style.css
:/* Theme Name: Virtue Child Description: Virtue Child Theme Template: virtue-child Version: 1.0.0 Text Domain: virtue-child */ .kad_tagline { font-size: 150%; line-height: inherit; } .product_meta { font-size: inherit; }
I’m opening this thread up again. I’m noticing a problem again.
Images look fine for the individual product pages, and the list of products within a category. But the shop overview page, which lists available categories is hard-cropping the category thumbnails.
I haven’t had a chance to work much on my website in the last month, so I’m not sure if this was always the case and I just missed it, or if I changed something that broke thumbnails again. Or maybe something changed during a WordPress or theme update. But I’ve already made sure that thumbnail cropping is disabled in WooCommerce, Virtue Theme, and WordPress Media settings. And I’ve tried rebuilding the thumbnails with the plugin Janet4Now suggested.
Resolved.
Ah! That did it. I don’t know why the old plugin was doing it wrong, but Regenerate Thumbnails does it right.
Thanks a lot for your help, both of you.
Yes, I’ve disabled image cropping in WooCommerce settings, and then tried rebuilding thumbnails or uploading new images.
Yes, I’ve tried deleting and uploading images as well.
The thumbnails plugin I’ve been using is AJAX Thumbnail Rebuild, which when you use has set of checkboxes for:
thumbnail (150×150 )
medium (468×468 )
large (1200×1200 )
shop_thumbnail (150×150 )
shop_catalog (270×270 )
shop_single (468×468 )
widget-thumb (80×50 cropped)“widget-thumb” is the only one that says “cropped,” but I don’t know where I’d change that since I can’t find anything that has a “widget thumbnails” setting, and anyway I haven’t yet run into any thumbnails on the site which are only 80 × 50 pixels.
Thanks for the quick response.
I’d thought the options WP Admin > Settings > Media would only affect the images posted to Pages and Posts. But just to be sure, I also set the medium image size to 468px and the thumbnails to 150px, and made sure the checkbox for cropping images was disabled. (I like 150px better than 90px, unless that just won’t work…) But that hasn’t helped either ??
Here’s the shop overview page, which doesn’t seem to be cropping the images. And here’s a product category page (with only one product having an image uploaded so far), and the single product page.