Portfolio image order problem.
-
I’m using the Candela theme. My portfolio images have sequential post dates. For the most part, they appear as thumbnails on my front page in the order of the dates, but not entirely. I was beginning to think that because I have a brick style layout, an algorithm was altering the position of some images for to achieve a best fit, based on the aspect ratio of the images. However, I have two issues that can’t be explained:
1) Some images, that have identical aspect ratios, will not display in the proper post-date order. In other words, if I just want to have two identical aspect ratio images swap positions, which would have absolutely no impact on the overall layout, they won’t. I’ve triple-checked the post dates that I assigned so that’s not the issue.
2) Safari displays a slightly different order than Firefox does. I am unable to come up with any possible explanation for this.
I attempted to force the site to align with post-date using the gallery shortcode, but that had no effect. Any thoughts?
The blog I need help with is: (visible only to logged in users)
-
Hmmm, this is interesting. If I have Safari, Firefox and Chrome set wide enough to show 3 columns, Chrome and FF match, but Safari has some out of order.
If I narrow all three browser so that I see two columns, then all three match.
The portfolio page template is a mosaic design, and as such it tries to arrange things by date, but as I understand it, my make some adjustments to the order so that columns come out even and things flow from side to side as aesthetically as possible, and in a way that the eye can easily move horizontally. I’ve compared the order in FF, Chrome and Safari to the order of your posts (by date) in your dashboard post listing, and none of the browsers match the order of the posts in the listing. I think what we are running into is the mosaic software adjustments to the order for fit and ease of eye movement.
I’ll ask our developers about this and report back with what they say. If this is a bug then I’ll file a bug report on it.
-
Thanks for looking into this. I spent the day staring at the code and couldn’t figure it out. I can understand the mosaic algorithm repositioning images of different aspect ratios for best aesthetics, but I should be able to set the position of images with the same aspect ratios using the post date. In at least one instance, every browser I tried positioned two particular photos of identical aspect ratio in the wrong place.
If there is another option for positioning that doesn’t involve post date, I’m happy to try it.
Thanks again.
-
To change things would require editing of the Jetpack plugin files, and that is something we cannot do. I’ve pinged the developers on this, but have not yet heard back from them.
-
Just heard back from the developers, and the order is dynamically generated and there is no way to change that.
When you tried the Portfolio Shortcode, did you set both order and orderby? https://en.support.wordpress.com/portfolios/portfolio-shortcode/#attributes
-
I put this into my portfolio page, but I’m not sure if it’s the right shortcode, or if that’s where I need to put it. I tried both ASC and DESC just to see if I could get it to change order but neither had any effect. Am I doing this correctly?
[portfolio orderby=date order=ASC]I noticed there was an option to sort by image ID. I’m wondering if I’d have better luck with this, but I can’t figure out where the image IDs are, and if I can edit them.
-
Put that shortcode into a new page, set to the default template. The shortcode will not work in a page set to the Portfolio Page Template.
-
I recommend creating a new page so that you can play with things without affecting your site until you have had time to play with things.
-
I’m afraid there’s not much point because it would require a tremendous amount of work to recreate the aesthetics and functionality of the Candela portfolio in a default template, unless I’m missing something. Perhaps I’ve just run into a general limitation of WordPress. I hope someday we have the ability to drag and drop in any desired order.
I still think there’s a bug here though, because the order shouldn’t change between browsers, nor should it change with images of identical aspect ratios – the algorithm should respect the specified ordering scheme in both cases. There’s a chance these issues are related to the same bug. Also, you mentioned that the order is dynamically generated in Jetpack, but it’s definitely not random, nor does it seem to be only based on layout aesthetics. If I change the post dates on my images, the order will change correctly for most of them.
- The topic ‘Portfolio image order problem.’ is closed to new replies.