Skip Navigation

[Resolved] Image Size

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 11 replies, has 2 voices.

Last updated by jetmirA 5 years, 11 months ago.

Assisted by: Beda.

Author
Posts
#1191293

Tell us what you are trying to do?
Im trying to create a post grid with search filters , but image size is not working

#1191295
e2.PNG
e1.PNG

i send you the pictures

#1191408

This is the correct shortcode as generated by the GUI:

<p> [types field='image' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='700' height='350' resize='stretch'][/types]</p>

I think you manually edited the one on your site? Can you regenerate it with the ShortCode generators?

I tested this locally and it is working fine, it should hence as well produce the expected results on your site.

If after inserting it again with the GUI and making sure it is not a compatibility issue (by eventually disabling other software on a testing site), it should work - if not, please let me know.

#1191439
still.PNG

its not working

#1191444
 <p> [types field='cover-image' title='post-title' alt='none' size='medium' width='700' height='350' resize='stretch'][/types]</p>

<div class="property-meta border-top border-primary">
  <h3>[wpv-post-link]</h3>
  <div class="row">
  	<div class="col-xs-6">
      <span class="preise">$[types field='brutto-preise' format='FIELD_VALUE'][/types]</span>
      <small class="listing text-gray">[wpv-post-taxonomy type='listing-category' format='name']</small>
    </div>
    <div class="col-xs-6">
      [wpv-conditional if="( $(wpcf-zimmer) ne '' )"]
      <span class="zimmer-detail" title="Anzahl Zimmer">
    	<i class="fa fa-home text-primary"></i> 
  		[types field="zimmer" format="FIELD_VALUE"][/types]
      </span>
      [/wpv-conditional]
      [wpv-conditional if="( $(wpcf-schlafzimmer) ne '' )"]
      <span class="property-schlafzimmer" title="Anzahl Schlafzimmer">
    	<i class="fa fa-hotel text-primary"></i> 
  		[types field="schlafzimmer" format="FIELD_VALUE"][/types]
      </span>
      [/wpv-conditional]
      [wpv-conditional if="( $(wpcf-badezimmer) ne '' )"]
      <span class="property-badezimmer" title="Anzahl Badezimmer">
    	<i class="fa fa-tint text-primary"></i> 
  		[types field="badezimmer" format="FIELD_VALUE"][/types]
      </span>
      [/wpv-conditional]
      [wpv-conditional if="( $(wpcf-bruttowohnflache) ne '' )"]
      <span class="property-bruttowohnflache" title="Bruttowohnfläche">
    	<i class="fa fa-arrows-alt text-primary"></i> 
  		[types field="bruttowohnflache" format="FIELD_VALUE"][/types] m<sup>2</sup>
      </span>
      [/wpv-conditional]
      [wpv-conditional if="( $(wpcf-property-dimentions) ne '' )"]
      <span class="property-detail" title="Land dimentions">
    	<i class="fa fa-arrows-alt text-primary"></i> 
  		[types field="property-dimentions" format="FIELD_VALUE"][/types] m
      </span>
      [/wpv-conditional]
    </div>
  </div>    
</div> 
#1191447

Yes, but this time you use size="medium", which is a predefined size.
Passing width and height will work when size="custom", as in the generated shortcode example.

Can you try to insert the ShortCode with the GUI, passing custom size, and the width/height, as I show here?
https://toolset.com/forums/topic/image-size/#post-1191408

Please let me know if this works on your install, on mine it produces the expected images sizes.

#1191458
still2.PNG
still 3.PNG

still not working bro

#1191473

removed

#1191475

I deleted the access data as this was public.
I saw on the site, this is in a Loop Item, in a View then displayed in an Elementor post.
That might be a mix that produces issues, I was able to show the correct image if inserting [types field='cover-image' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='700' height='350' proportional='false' resize='proportional'][/types] directly to the loop.
I can look deeper in this issue Tuesday, however, it might be due to Elementor and Content Templates in Views not being fully compliant.

#1192363

OK, this is a strange and until now, locally not replicable issue.

I tried with Elementor creating the post, and inserting the View there, with a Content Template within the Views loop, just as it is made on your example.

Since the access details from the weekend where in public, can you submit new ones, below?

I will (if permitted)
- grab a copy of your site
- deploy it locally
- see where the issue comes from and update you.

Meanwhile, you can put everything within the "loop item" content template directly into the view's loop (determined by <wpv-loop> tags.)
That will solve the issue, but it still requires the analysis to decide whether this is expected or not.

If you already have a duplicate, you can also just attach it in the next reply, otherwise, please allow me to copy the site if possible.

Thank you

#1195902

What taxonomy View do you mean?

This thread is about "Image Sizes" not working on a view styled with Elementor and that's only confirmed on the site you shared.
I have provided a solution for that and would like to see into that issue closer, locally.

For this, I'll need what I mentioned here:
https://toolset.com/forums/topic/image-size/#post-1192363

Please read the message carefully as it requests to add content to the site you shared (and new access details).
However if that's not possible, I can also work with a copy of the site:
https://toolset.com/faq/provide-supporters-copy-site/

#1195986

My issue is resolved now. Thank you!