+ 3

Does i have to remember Full Name of an Image to get uploaded ?

does it automatically find the path of the image ?

20th Mar 2017, 8:30 AM
Khalid Bhatt
Khalid Bhatt - avatar
4 ответов
+ 8
It won't be found automatically, but if you place the image in the same directory it will be found effectively. If it's not in the same folder then you'll have to add the path.
20th Mar 2017, 6:01 PM
Mark Foxx
Mark Foxx - avatar
+ 6
Specify directory, <?php echo dirname(__FILE__) . 'path/to/img/img.jpg'; ?> If you getting errors then try above(replace path/to/img/img.jpg)
20th Mar 2017, 9:11 AM
Animesh
Animesh - avatar
+ 4
Why not rename it?
20th Mar 2017, 8:59 AM
Animesh
Animesh - avatar
+ 1
if i rename it to simple one then will it find the path directly or i have to guide !
20th Mar 2017, 9:07 AM
Khalid Bhatt
Khalid Bhatt - avatar