S
S
suhuxa12018-02-05 12:51:37
opencart
suhuxa1, 2018-02-05 12:51:37

How to remove image resizing on output in opencart?

Non-standard situation. I'm not new to programming, and I know about MVC. Actually, I need to make sure that each category has its own picture. In the view, the file contains $thumb - a thumbnail of the image uploaded through the admin panel. And I would not like a miniature, but a full image, and here the circus begins. I go to controllers\product\category.php. And I edit the thumb, remove the resize - it doesn't work. I think what's the matter - I cleared the cache - it still does not work. Deleted at all - nothing was deleted in the view. I delete the file - then the error occurs in the category. and I just delete the code in the file - everything works as it should. Maybe I'm not rummaging there? Opencart costs 3 versions, I clean the cache with a standard tool, the system / cache folder is empty. What could be the matter, and where then to change this $thumb variable?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zoozag, 2018-02-05
@zoozag

Forgot to clear modifier cache

S
Serge Tkach, 2021-08-26
@SergeTkach

By the way, this page is issued in the search for a completely different user request in terms of semantic load. Not for programmers, I wrote a ready-made modifier that allows you to remove the resize of pictures in a product when viewing a window... .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question