The logo field goes into the slider and looks horrible.
This topic contains 10 replies, has 3 voices, and was last updated by Kathy Long 4 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 15, 2020 at 11:47 pm #540488
Using your logo field, it gets put into the image slider and is not treated differently like it should. In fact, in attempting to have other image fields for other purposes, the same thing happens. Everything goes into the slider. The logo gets blown up and looks horrible there. So is there a way to keep images from going into the slider?
April 16, 2020 at 1:49 am #540504Yes, edit the GD details template. Create a new GD Post Images shortcode that has the options you want like type=’post_images’
April 16, 2020 at 2:48 am #540518Alex, can you tell me how to do that? None of my custom fields or the logo field (which is not custom) shows up in the drop down menu in the short code creator. If there are directions somewhere for that, can you send me a link. I can’t seem to find anything.
Also, sounds like what you describe will help me to get the field to the details page, but how do you get the logo out of the slider?
thanks.
April 16, 2020 at 12:26 pm #540589April 17, 2020 at 9:24 am #540819Alex, it’s all making sense to me now! Still have some problems.
I got the logo out of the slider with this:[gd_post_images type=’slider’ ajax_load=’true’ slideshow=’true’ show_title=’true’ animation=’slide’ controlnav=’1′ types=”post_images” fallback_types=”0″]
I added fallback_types=0 to keep my fallback default image from populating the slider.
The problem I’m having now is with the sizing of the logo. I tried various different settings and had no success. You can see the HUGE logo at the bottom. https://supportyourtown.online/places/united-states/california/san-jose/services/kat-mouse/
Here’s my code:
[gd_post_images type=”image” ajax_load=”1″ show_title=”0″ types=”logo” fallback_types=”0″ image_size=”thumbnail” cover=”n”]
SO HOW DO I GET THAT LOGO NOT TO RESIZE? I tried other options beside thumbnail.
BTW, there is a bug. Even though I select “single_image” it still puts slideshow, animation, control and whatever other attributes that usually go with the slideshow. I deleted all that but it makes me think that maybe it’s missing the attribute that should show up when you choose single image. Or not.
April 17, 2020 at 9:53 am #540824Hi Kathy,
Thanks for your reply. You can use the custom CSS code below to resize it.
ul.geodir-post-image.geodir-images { max-width: 200px; margin: 0 auto!important; }
April 17, 2020 at 7:52 pm #540950Thanks. Will do.
April 17, 2020 at 8:02 pm #540953Just when I get the details page worked out the archive page gets messed up because of the logo. Instead of the fallback image that was there, then it put the logo there and again it’s the wrong shape and size for that.
So I put this in the code: [gd_post_images type=’image’ ajax_load=’true’ link_to=’post’ types=’post_images’ fallback_types=’listing_default’]
And it’s all good now!
Here’s a recommendation for you. NO LOGO should be pulled into any image situation whatsoever, other than just as a logo, because they will always be smaller and different aspect ratio. I recommend you fix this in your code so no one has to deal with this.
April 17, 2020 at 8:28 pm #540961Just want to point out that whatever I did for the details page to get that logo out of the slider, then affected the details on the archive page which seems impossible. It required adding the fallback image attribute to fix it when it didn’t need that before.
You don’t need to explain that unless you think other readers need to know. I’m saying this here in case others are having issues as well.
Thanks.
April 18, 2020 at 3:09 pm #541091Hi Kathy Long,
Thanks for your reply. Could you replicate the issue and share the URL of the page in question here so that I could check on it?
April 20, 2020 at 9:39 pm #541472Hi Kor, There is actually no problem now. I’m just mentioned what happened and my solution in case others run into the same problem.
All is good now! You can mark this closed. Thanks.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket