Post by basboekema » Sun May 29, 2016 8:51 pm

Hi there,


First of al im new to this so i realy dont have a clue if this is the right place for my problem....
I have some issues with image manager......
It only adds the pictures that are direct /image folder.
When i try to add a picture from the.. lets say /image/mypicures folder it doesnt add the picture but i opens the picture in te browser.
Please give me some advise to fix this

Kind regards Bas

Newbie

Posts

Joined
Sun May 29, 2016 8:49 pm

Post by IP_CAM » Mon May 30, 2016 4:59 am

This is, because your image BASE directory is NOT:
/oc22/image/....
BUT:
/oc22/image/catalog/demo/....
where your UPLOADED images (usually) reside. (or then in their own Subs, inside of the /demo/ Sub)
---
AND THE CACHED IMAGE SUB IS:
/oc22/image/cache/catalog/demo/...
where your automatically SIZE-ADJUSTED and Cached Product images reside.
---
despite of the Fact, that your config.php Content looks different, like:
---
define('HTTP_IMAGE', 'http://whatever/oc22/image/');
define('DIR_IMAGE', '/home/server/www/whatever/oc22/image/');
---
And if you create an additional Image Subdirectory, INSIDE of this:
/oc22/image/catalog/demo/
by example, to make it named like this:
/oc22/image/catalog/demo/yoursub/
if will find your images, as placed in a LEGAL Sub, and add it, as planned.

And depending on, where you place such images, like in Products, such a NEW SUB would be created automatically,
as well as it's cached image-content, placed in their foreseen size, would be called from here:
/oc22/image/cache/catalog/demo/yoursub/....
---
BUT, and this is the other matter, OC-2 Information Files/Pages cannot, by DEFAULT, handle such by use of the
built-in Image Manager. As you see, I added a regular image link, because there is nothing else, to do it.
---
Just to give you some ideas... ;)
Ernie

PS: Some tools, to handle Image Subs as well:
---
Image Directory Splitter
http://www.opencart.com/index.php?route ... n_id=20520
---
Product image manager-(Simple Store)
http://www.opencart.com/index.php?route ... n_id=26371
---
Image Manager Recent Directory
http://www.opencart.com/index.php?route ... n_id=22980
---
simple image link:
---

My Github OC Site: https://github.com/IP-CAM
5'600 + 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 basboekema » Mon May 30, 2016 10:46 pm

Thanks for the help :)

Newbie

Posts

Joined
Sun May 29, 2016 8:49 pm
Who is online

Users browsing this forum: No registered users and 5 guests