Post by dryfly52 » Sun Jan 10, 2021 10:33 pm

Hi,
Does anyone know where opencart 3.0.3.6 keeps the image sizes that can be defined from Admin --> extensions --> extensions ---> themes --> [default] --> Images ?

I wanted to backup my settings hopefully with a table dump but I have scoured through the database table contents without success. Surely they aren't held in the file system?

Any help would be appreciated
Thanks

Newbie

Posts

Joined
Fri Jan 31, 2020 9:58 pm

Post by IP_CAM » Sun Jan 10, 2021 10:50 pm

In the Database. :D
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by paulfeakins » Mon Jan 11, 2021 7:35 pm

IP_CAM wrote:
Sun Jan 10, 2021 10:50 pm
In the Database. :D
Image
Aren't they also in the admin?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by IP_CAM » Mon Jan 11, 2021 8:27 pm

Well, they have to be saved and kept somewhere .... :laugh:

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by dryfly52 » Wed Jan 13, 2021 7:53 am

Hi Guys,

Thanks for the info but does anyone have a table name to go with it?
Thanks in advance

Newbie

Posts

Joined
Fri Jan 31, 2020 9:58 pm

Post by sw!tch » Wed Jan 13, 2021 7:56 am

oc_setting - You can reference the theme_default code prefix.

Also reference the oc_module table as it houses its own settings for certain modules.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by dryfly52 » Wed Jan 13, 2021 9:03 pm

Thank you to all.

This is the relevant content of oc_setting in my Opencart 3.0.3.6

(5380, 0, 'theme_default', 'theme_default_image_location_width', '400', 0),
(5361, 0, 'theme_default', 'theme_default_product_description_length', '100', 0),
(5362, 0, 'theme_default', 'theme_default_image_category_width', '100', 0),
(5363, 0, 'theme_default', 'theme_default_image_category_height', '100', 0),
(5364, 0, 'theme_default', 'theme_default_image_thumb_width', '300', 0),
(5365, 0, 'theme_default', 'theme_default_image_thumb_height', '300', 0),
(5366, 0, 'theme_default', 'theme_default_image_popup_width', '2000', 0),
(5367, 0, 'theme_default', 'theme_default_image_popup_height', '2000', 0),
(5368, 0, 'theme_default', 'theme_default_image_product_width', '2280', 0),
(5369, 0, 'theme_default', 'theme_default_image_product_height', '2280', 0),
(5370, 0, 'theme_default', 'theme_default_image_additional_width', '300', 0),
(5371, 0, 'theme_default', 'theme_default_image_additional_height', '300', 0),
(5372, 0, 'theme_default', 'theme_default_image_related_width', '200', 0),
(5373, 0, 'theme_default', 'theme_default_image_related_height', '200', 0),
(5374, 0, 'theme_default', 'theme_default_image_compare_width', '100', 0),
(5375, 0, 'theme_default', 'theme_default_image_compare_height', '100', 0),
(5376, 0, 'theme_default', 'theme_default_image_wishlist_width', '100', 0),
(5377, 0, 'theme_default', 'theme_default_image_wishlist_height', '100', 0),

Newbie

Posts

Joined
Fri Jan 31, 2020 9:58 pm
Who is online

Users browsing this forum: Yahoo [Bot] and 526 guests