O
O
olegmorales132018-02-15 14:04:14
HTML
olegmorales13, 2018-02-15 14:04:14

How to make sure that the image is not cut off by the server?

The image is rendered like this

<img src="//vaus.ru/wp-content/uploads/2018/02/PocahontasMiddle-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail wp-post-image" alt="" width="300" height="300">

I want the src of the image to be just "//vaus.ru/wp-content/uploads/2018/02/PocahontasMiddle.png" without 300x300

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Zhivagin, 2018-02-15
@Krasnodar_etc

Have you tried finding and deleting the line in the code?

O
Orkhan Hasanli, 2018-02-15
@azerphoenix

Look in the Woocommerce plugin template. On the page you need, find the line of PHP code that displays the image and assigns the size "woocommerce_thumbnail" to it and replace it with "full"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question