- Views48 times
- Answers1 answer
Any reason why: $listing_logo = $listing->get_logo( ‘medium’ ); always returns the full size file?
I have verified that the medium thumbnail exists in /uploads/job-manager-uploads/job_logo/2019/03 (same path as original) and have tested with other thumbnail sizes, but the full size version is always returned.
For example, the link starting line 43 at /templates/listing.php/ should return the URL of the full size in the href attribute but should use the medium thumbnail for the background image (variable set at line 16).
The same occurs with the image used on the map marker in the location section. Where the ‘thumbnail’ size should be used (line 437), it’s loading the full size.
What am I missing?
Thanks in advance.