I am trying to make a user profile thumbnail, set in a featured image, smaller than the normal 150x150 size. When I add class="minithumb" and create some CSS to make it 75x75, nothing seems to happen (class does not appear when inspecting the image in the browser). When I try to force it by using the code pasted below, the website seems to puke - see attached image. When I remove the "custom" attribute, everything goes back to normal with 150x150 thumbnail.
<a href="[wpv-post-url id="[types usermeta="user-profileid" format="FIELD_VALUE" user_is_author="true"][/types]"]">[wpv-post-featured-image size="custom" width="75" height="75" id="[types usermeta="user-profileid" format="FIELD_VALUE" user_is_author="true"][/types]"][wpv-post-author format="meta" meta="first_name"] [wpv-post-author format="meta" meta="last_name"]</a>
Hello,
How do you setup the custom user field "user-profileid"?
I have tried your codes in my localhost, setup "user-profileid" as a custom single line user field.
It works fine, there isn't similar problem as you mentioned above.
In case it is a compatibility problem, please try this:
1) deactivate other plugins and switch to wordpress default theme, and test again
2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, also point out the problem page URL, I need to test and debug it in my localhost, thanks
Thanks for the details, I can download and import your database dump file, where can I see the problem you mentioned above? please point out the problem page URL,
And I have checked the "Debug information" you provided, you are using Views 2.6 RC +Types 3.0 RC + Other stable version of Toolset plugins( Layouts and CRED), if you need to use Types beta version plugin, you will need to use other beta version of Layouts plugin + CRED plugin, and the latest version of Views plugin is 2.6 RC-2, please try to install them in your website, and test again, you can download them here:
https://toolset.com/account/downloads/
Choose channel: Beta
Hi Luo,
I had installed all the new beta versions as soon as they were released. It looks like 2.6-RC2 has come out since - sorry, I was unaware an update had been put out. Can you confirm this is the only one that isn't totally up-to-date? From the plugins screen (attached) it looks like this is the case.
I have deleted 2.6-RC and installed 2.6-RC2, but the problem is still occurring when I set the custom size attribute on the featured image.
- Aaron
Hi Luo,
The problem has been resolved. I tried adding the class="minithumb" attribute into the featured-image shortcode and after upgrading to Views 2.6-RC2, the featured image class attribute started taking properly. I can now control the featured image size via CSS. Thanks helping me figure it out.
- Aaron