Path to Image folder

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Path to Image folder

Post by dlee » 2023-01-30 17:44

I am running Appgini 5.97. Where exactly is the path to the image upload folder declared/stored?
TD

I found this in config.php:

Code: Select all

	'baseUploadPath' => "images"
and this in defaultLang.php:

Code: Select all

	$TranslationEn:
	'ImageFolder' => './image'

jfischer
Posts: 23
Joined: 2022-11-19 16:07
Location: Austria
Contact:

Re: Path to Image folder

Post by jfischer » 2023-01-30 18:59

Hi

Here you see once in the directory where the upload is located and once in the admin view in the application when it is published. Here the upload folder is called "Download"

kind regards
Figo
im_Programm.jpg
im_Programm.jpg (180.78 KiB) Viewed 774 times
Bild_images.jpg
Bild_images.jpg (161.66 KiB) Viewed 774 times

dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Re: Path to Image folder

Post by dlee » 2023-01-31 21:38

Thanks for replying. I need to dynamically change the upload folder location depending on the page within my app that you are actually on. I am able to change the location dynamically in config.php by adding some code on that page BUT later discovered that when I changed the administrator password, thru the Admin section of my app, the config.php was overwritten and I lost my code. Not really a big deal since how often does one change that password but still not cool!

I'll keep trying to find a way to do this but if someone else has solved this issue please post here and tell us how you did it.
TD

Post Reply