Welcome Guest, Not a member yet? Register   Sign In
image problems
#2

[eluser]Sumon[/eluser]
.htaccess file located in your root directory.
Do you copy and paste image address in your browser and get the image correctly? There are two other ways by which you can view image file.

Firstly try to use relative path instead of absolute. Relative path will start from index.php(located in root of CI).

Secondly try to use image path using DOCUMENT_ROOT.Say your document root is var/www/vhosts/yoursite.com/httpdocs and your image folder from root is images/mem_photo/ then try to generate path using helper as concat these paths. finally your image file path is as:
Code:
$img_loc='var/www/vhosts/yoursite.com/httpdocs'.'/images/mem_photo/'.$img_file_name;
echo $img_loc; // for test


Messages In This Thread
image problems - by El Forum - 09-24-2008, 12:19 PM
image problems - by El Forum - 09-24-2008, 02:11 PM
image problems - by El Forum - 03-02-2009, 09:43 AM
image problems - by El Forum - 03-02-2009, 09:57 AM
image problems - by El Forum - 03-02-2009, 10:36 AM
image problems - by El Forum - 03-02-2009, 11:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB