Thumbnails got problems
-
Hey man, I’ve seen this happening before you said there to click on force table upgrade but it won’t work.
The thumbnail sizes won’t change, I really need them bigger, you have to consider there are large screens out there.
Any way of making them bigger ?
P.S I’m using custom links for every website, so no shrinktheweb account.
And in fact, any setting I change will revert back to its original state…
-
Hello,
I’m wondering if this is related to a similar issue that was reported a couple of months ago where the user could not add/delete items. It was basically not saving any settings due to a SUHosin bug in later versions of PHP (v5.6+). What version of PHP are you running?
We are soon to be starting the project to update WP-Portfolio with several bug fixes, including the SUHosin issue, and add “Grid Layout” support.
Best regards,
Brandon
As of woocommerce and your plugin it seems it’s PHP 5.5.36
The problem is only in the portfolio settings tab. It did save the shrinktheweb keys, but it won’t save any other changes like checking boxes or changing the thumbnail size. It does show the page as if they changed after you click save, but if you refresh, they’re back to normal.
There are many grids out there π That’s why I picked yours couse it has the list view.
I partially fixed it by modifying the default image size from thumbnailer php file to make them bigger, it seems it worked.
However, is there any way I can make the image link to the full size attachment, or open the bigger image in a lightbox prefferably ? It’s because we also do graphic design and need to have clearer images.
Please you’re awe if you can guide me a little on how to implement this, I’m sure it’s useful for everyone.
Hello,
So we know that PHP 5.4 doesn’t have the “save” issue but PHP 5.6 does. There is a chance that PHP 5.5 has the issue also. So that may be corrected when we modify the code to check for “Submit” instead of an empty hidden field. It’s good that you could override this issue, for now, but you are likely to run into bigger issues (not being able to add/edit/delete), if this is the same problem.
There is not currently any way to specify an alternate link, that I know of, and there have been no feature requests in years –possibly because other solutions already exist.
However, this is the right time to be asking, because we’re still making a list of “to-do’s” for this next major update. It would be nice to introduce a couple of new features rather than just the single “Grid” feature –especially since you mention lots of alternatives for that.
So, I have a few questions:
1a. Are you using the full-size image path and just using HTML values (width and height) to force the image smaller? If so, that will make for a poor user experience, because it’s slow and resource intensive. If this is what you are doing, I’d rather add the ability to link to the full image AND the thumbnail image (or possibly add an option to create the thumbnail from it), when using a new option to link to the larger image. Would that just go to the direct image link or some page on your site that contains the larger image?
1b. The consideration is whether you will link to a page, in which case you likely have the large image and want us to create a thumbnail from it (unless WP already does this). Thoughts?
2. I’ve heard about lightboxes for years but have never dealt with them in any way. Could you elaborate or summarize “how” this would work? For instance, what would we actually be linking to (page, external URL, image with query parameters, etc)?
Sincerely,
Brandon
I haven’t run into any other problems, I can still add and edit portfolio websites and images show up just fine.
So since I couldn’t change Thumbnail size and it kept forcing it at 200×150, I went to thumbnailer php file and just searched for “200” and found values 200 and 150 and replaced them with 400 300 ( same ratio ).
I’m not using full size image path. I just specify the URL of the image on my server when I add the website and it generates a thumbnail. So it does generate them from thumbnailer PHP file I guess.
Also, is it possible to make the URL with /wp-content/uploads/image.jpg path instead of the full http://www.domain.com/wp-content/… ? For example, I will soon move on another domain and I have to change all the custom thumbnail URLs. Or if I have to upload the images into a specific folder, I didn’t knew, can you mention it ?
As of this full size image, it doesn’t really matter how, but from the portfolio the user should somehow have access to the full image, not only the thumbnail.
There are many options:
1. Put a link on the thumbnail with _target blank to open the full image URL in another tab.
2. Open the full image in a lightbox which only loads the image on click insted of when the full portfolio loads.
3. Just place a link with full image under the thumbnail “click here to see full image”
4. Each website has it’s own separate page, and when you click the thumbnail it takes you to that page.
5. When you click the thumbnail it takes you to the attachment page of the full size image used in thumbnail.Whichever one is easier on the code will do. But I guess the best ones are Lightbox/Open new page containing full image.
Oh wow I found a solution ! xD
Just adding the URL to the Custom field section, and the using %Customfield% to place the url under the thumbnail with <a href and it opens the full image in new tab ! π
Oh and I guess I can also use this around the thumbnail as a link. π
Sweeet. Always nice when users conquer an issue for us! π
The custom field solution makes a lot of sense. I think you figured out the original developer’s intention for that field. Now that you explained what you did, the note about affiliate links on that field makes more sense to me. So this way, you can override and extend the functionality a bit. Cool. I will have to remember that.
As far as the path using the domain, I am assuming they did it that way for a reason. I will add it to our list to see what that reason might be and if it’s still valid. It makes a lot of sense to use local paths for the reason you stated but also to avoid hitting the web server when using a local filesystem request will do.
I will also make a note to look at supporting the lightbox loading of images. My initial take on your scenarios is:
- Handled by “custom field”, as you discovered
- Will investigate the possibility of adding this support
- Handled by “custom field”, as you discovered
- Would rather not have this module keep up with dedicated pages*
- Not really ideal, since we would have to store all original image paths, separately, even if not used in this way.
*Also handled by user creating dedicated pages and using “custom field” to link to them.
Best regards,
Brandon
Yeah, the lightbox is kinda the best option, if you think the other ones have issues.
I think I know why the full path, as on the WP All Import local paths don’t work since it can’t download the image from the web, it gives error. So I assume that the Thumbnailer also has to download the image before it crops it ? Who knows. But local paths would save a lot of time durring a merge. Or maybe just a small option somewhere in the settings to replace all the http://www.olddomain.com with http://www.newdomain.com.
My site is actually a WP install inside a Joomla so it’s domain.com/wpversion/…
Thanks for the fast response man ! I’ll see what I can tweak on myself, but so far, I found my solution.
Take care !
@caodr93 Hello again!
We’ve begun updating our WP plugins and I’ve been adding to the list of features/fixes to get in this round.
For WP-Portfolio, I added the domain vs local filesystem feature, but I wanted to discuss the lightbox request before I add that. So, would it not be possible to use something like: https://ww.wp.xz.cn/plugins/simple-lightbox/ ??
I don’t want to reinvent the wheel, if existing plugins will integrate nicely with our plugin and make it work sufficiently.
If you are unable to find existing WP lightbox plugins that do the work correctly, please highlight a few of them and spell out how they fall short. That way, I can clearly define a task for me or my guys to reference.
Cheers,
Brandon
The topic ‘Thumbnails got problems’ is closed to new replies.