Avatar of cookmyster
cookmyster
Flag for Canada asked on

wordpress portfolio image issue

Hello,

I am having issues with a image in the portfolio i am using.   No matter what i try the image won't resize properly and always looks funny (http://foundationckhatest.jadeddesigns.ca/   - Under Events on Front page).  I have no idea what is wrong with it.

Can anyway suggest how to fix this image issue.. or suggest another portfolio plug to use.  I am using it for events..  or is there an event plug in that works like the portfolio???

Thank you,

Rich
WordPress

Avatar of undefined
Last Comment
Peter Hart

8/22/2022 - Mon
Tom Beck

The portfolio plugin seems to be working properly for resizing image automatically on the events page:
http://foundationckhatest.jadeddesigns.ca/events/

There is quite a difference in the html output between the front page and the events page for each image.

Events page has this for a portfolio image tag:

<img width="1220" height="499" alt="Parade of Chefs logo_cropped" class="attachment-full wp-post-image" src="http://foundationckhatest.jadeddesigns.ca/wp-content/uploads/2015/01/Parade-of-Chefs-logo_cropped.jpg">

Front page has this:

<img alt="" src="http://foundationckhatest.jadeddesigns.ca/wp-content/uploads/2015/01/Parade-of-Chefs-logo_cropped-300x214.jpg">

...different images and no classes specified on the front page portfolio images.

Has to be something different in the way you have added the portfolio to the events page that you did not do on the front page.
cookmyster

ASKER
Hey Tom,

I just add the photo as "featured image", i did not do anything special.   So is there something wrong with my shortcode on the front page then??  Can i just add that class in there somehow??  I can't seem to find the shortcode on the events page....

here is the short code for the front page  

[recent_works layout="grid" picture_size="fixed" filters="true" thumbnail="yes" columns="3" cat_slug="" number_posts="12"][/recent_works]

Open in new window



Rich
Tom Beck

Just pointing out the differences based on what I see. I don't know which portfolio plugin you are using or how portfolios are added to the site content. It's different for every one. Even if you told me which one, it's not likely I would have had direct experience with it.

If you cannot find the shortcode on the events page then adding the shortcode is apparently not the way to add a portfolio with this plugin. Or at least not the way you have done it. Perhaps settings are wrong. The picture_size="fixed" seems suspect. Are there other choices?

I would try to figure out how the portfolio was added to the events page and duplicate that.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Peter Hart

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.