Tagged: ajax portfolio, image sizes
-
AuthorPosts
-
October 26, 2013 at 12:17 pm #180989
Hi guys
Despite uploading a 1600px image to the Ajax Portfolio Gallery the actual is one that is only 1030 x 510px on the lightbox preview.
See here: http://www.swarez.co.uk/original-art-for-sale/
click the very first painting (When One Door Opens) and the very first image should be displayed at 1600 x 793px (when clicked to open in Lightbox) but the default setting is choosing all images to be displayed at 1030 x 510px.
I need to be able to display the original image size on the preview sliders. Can you point me to the place I can make this change please?
Big thanks as always.
EdPS – since 2.4.1 my buttons have black writing in them. Did a CSS change to #ffffff but this changed the white buttons to a white font! Ouch! Any help for that one too please. Thanks.
- This topic was modified 11 years, 1 month ago by Swarez.
October 27, 2013 at 7:37 pm #181251Hi!
Try the following – open up /themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php and replace line 379:
$link = wp_get_attachment_image_src($slide->ID, $this->config['lightbox_size']);
with
$link = wp_get_attachment_image_src($slide->ID, 'full');
Best regards,
JosueOctober 29, 2013 at 8:49 pm #182225Perfect!!!! Thanks man…
Any help with the sudden change in colour with the buttons?
Thanks a million dude :)
October 29, 2013 at 9:39 pm #182236You are welcome.
Which buttons? mind posting a screenshot?
Best regards,
JosueOctober 29, 2013 at 9:48 pm #182238Since 2.4.1 the tme coloured button changed from white to dark grey text when put with red buttons (from theme selection).
I have got around it by adding:
.avia-button span {
color: #FFF !important;
}but I have had to change homepage buttons to red as this command changed ALL buttons to white text – not much good when I was using the Theme Colour Subtle option (white background with white text!). Anyway, this is what 2.4.1 did to the white text on red…
http://www.swarez.co.uk/screen-shot-buttons-1.jpg
Hope that helps?
Thanks
EdOctober 29, 2013 at 9:50 pm #182239Small thing dude – do you notice there are no spaces where punctuation occurs (in the Ajax text preview)? In the screenshot above the text formatting is poor… Can this be resolved for the next update please? Would make it easier to read…
Thanks
EdOctober 29, 2013 at 10:21 pm #182246Hi Ed!
Here’s how they look on my end:
Regards,
JosueOctober 29, 2013 at 10:50 pm #182251Same here Josue…
Notice the spacing of the characters where the punctuation occurs. There should be a space after the commas, a space after the full stops etc…
As far as the buttons go then yes, they look right now because I added the CSS I mentioned above to change the attribute for white text. The screenshot I sent you showed exactly what happened after I updated to 2.4.1 with no Styling changes… Must be happening to others yes?
Hope that helps clear things up..
Thanks
EdOctober 29, 2013 at 11:11 pm #182256Hey Ed!
They are not in the HTML source. It’s not CSS related, i think you may need to re-add them manually.
This happened after the update?
Regards,
JosueOctober 29, 2013 at 11:14 pm #182261Yeah that’s right – changed after 2.4.1.
How strange??? I will go add again to the portfolio item and see what happens…
thanks man :)
October 29, 2013 at 11:23 pm #182267Nothing happens… all just the same.
Visual Editor and text tab all look normal but still no text formatting… very odd!October 29, 2013 at 11:25 pm #182268Hi,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueOctober 29, 2013 at 11:38 pm #182270This reply has been marked as private.October 29, 2013 at 11:41 pm #182271This reply has been marked as private.October 29, 2013 at 11:47 pm #182272This reply has been marked as private.November 1, 2013 at 2:42 pm #183374Hey!
I’m not sure why its rendering like that. I’ve tagged Kriesi to take a look at it.
Best regards,
DevinNovember 1, 2013 at 2:51 pm #183383Thanks Devin; appreciate that.
See what the master says!!!!
Regards
EdNovember 2, 2013 at 4:16 am #183596Hey!
I tested the preview text on my own portfolio item and it the spacing is rendering properly.
There has to be a plugin that is causing the issue. Can you please deactivate all of them then test it on another browser?
Regards,
IsmaelNovember 4, 2013 at 5:33 pm #184348Thanks for the update Ismael
I will go back and investigate!
Many thanks
Ed -
AuthorPosts
- The topic ‘Ajax Portfolio defaulting to 1030 x 510px on preview’ is closed to new replies.