Home › Forums › Calendar Products › Events Calendar PRO › calendar view – featured image size wrong
- This topic has 8 replies, 3 voices, and was last updated 9 years, 10 months ago by
Hunter.
-
AuthorPosts
-
June 15, 2016 at 4:03 am #1127237
kapuh
ParticipantHallo there.
I updated the whole WP-Installation, and the theme Avada and the events calendar pro plugin.
Now, when I upload an image to the events, the featured image hasn´got the right size anymore in the calendar view.
Even when I try to regenerate it with a plugin it still has the size of 200x134px instead of 300x200px.Please compare the featured image of the event:
Fresh Rockers – Breakdance für Anfänger
with the event:
Lüttville @ Esche – Culture Club
How can that be?June 15, 2016 at 1:37 pm #1127541Hunter
ModeratorHello,
We have a Knowledgebase article geared towards explaining how our plugin uses featured images and how to make changes through either template overrides or filters. Let me know if the information helps answer your question 🙂
Cheers!
June 16, 2016 at 12:10 am #1127748kapuh
ParticipantHallo there,
I can´t find the right part, the right file for my issue.
Where can I change the size of the thumbnail showed in the calendar view?
In the tooltip.php of the the-events-calendar/views/src/tooltip.php I see the class tribe-events-event-thumb,
but where can I define the size of this thumb?
Before the update, everything was fine! Why and where did they change this?And is there a way in the backend of WP in the events-calendar-part to have a read more at the end of the tooltip-text? Now it´s just ends in the middle of a sentence? Or do I have to customize it in the plugin itself?
Thanx again,
KatjaJune 16, 2016 at 11:20 am #1128057Hunter
ModeratorHey Katja,
My apologies for misunderstanding the first time around! I believe this article will be of assistance to you 🙂 Again, let me know if it helps answer your image question.
To edit the tooltip excerpt length, navigate to the /the-events-calendar/src/functions/template-tags/general.php file and open it within your preferred text editor.
Scroll down to line #1370 within that file. It should look like:
$excerpt_length = apply_filters( 'excerpt_length', 55 );Change the “55” to whatever you’d like. Let me know how this goes and have a good rest of your day!
June 16, 2016 at 11:52 pm #1128287kapuh
ParticipantHm, Hunter. Perhaps may english is too bad.
Have you taken a look at my site and checked the difference between the two images of the events tooltip?
http://esche.eu/kalender/
The dimension of the image inside the tooltip has changed since the update.Please compare the featured image of the event on friday:
Old event :Fresh Rockers – Breakdance für Anfänger this image has the size of 300x200px = this is the right size
with the event
New event :Lüttville @ Esche – Culture Club this image has the size of 200x134px = this is too smallQuestion: Where can I change the size of the tooltip-image? In the backend of WP I defined the width of the featured image thumbnail to 300px, but it doesn´t work no more since the update.
Hope my issue is clear now!
Thanx, Katja
June 17, 2016 at 11:03 am #1128574Hunter
ModeratorHi and sorry for the misunderstanding,
I do notice the difference but am not sure as to why the tooltips are displaying different image sizes. The Avada theme has made customizations beyond what we’re able to support, so it may be a question worth asking the Avada authors.
Would you mind reverting back to the default WP theme and deactivating all other plugins as recommended in our Testing for conflicts guide to see if it is in fact being caused by the theme? One last idea I have would be to alter the size of the tooltip image size to ‘full’ with this snippet.
Again, my apologies for leading you down the wrong road and I hope this answer has helped address the question. Take care and enjoy your weekend.
Cheers!
June 20, 2016 at 4:08 am #1129167kapuh
ParticipantYEAH!
Thanx Hunter.
This was the snippet I searched for!
I wrote ‘medium’ not ‘full’ in the snippet and everything is fine!
Cool!Thanx a lot,
KaJune 20, 2016 at 11:49 am #1129420Hunter
ModeratorThank you so much for letting me know you’ve got everything going as desired! Feel free to open a new thread if anything else arises and have a wonderful week 🙂
-
AuthorPosts
- The topic ‘calendar view – featured image size wrong’ is closed to new replies.
