Hi can any help me out in fixing this issue, actuall i have a image campaign where i can add image and show it up in the home page it worked fine when i have my server1 now it was moved to server 2 , now i dont find where my image will be stored and you it is not displayed ? please help on this friends
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
The images are stored in the data directory of Elgg. Make sure you have edited the MySQL Database respectively.
http://docs.elgg.org
hi Shouvik, thanks for you reply, actually i have stored my image in the folder named gmfiles in the root directory and i have a permission 775, but i dont know whats wrong, the image are not stored there for a display, but same worked for my last server
I've had a similar issue, please read through this discussion;
http://community.elgg.org/pg/forum/topic/677375/tidypics-photos-missing/
It worked for me, good luck.
Survtime
thanks survtime, actually my image is there in my folder, but while retrieving the image it is not showing up the image, In image tag i have given a src as icon.php, here is the problem it is not echo my image in the php page
header("Content-type: image/jpeg");
header('Expires: ' . date('r',time() + 864000));
header("Pragma: public");
header("Cache-Control: public");
header("Content-Length: " . strlen($contents));
$splitString = str_split($contents, 1024);
foreach($splitString as $chunk)
echo $chunk;
Shouvik any idea why it is not working ???
Hmm ... I had a problem while server migration. I changed the path of the data directory on elggmetastrings table and it was fixed.
Maybe, you could search for the former diretory on the above mentioned table and if found, change it to the newer one ...?
actually as per my research, i found that there is no problem in the image, but after i call header, the image is coming as empty and dimension associated with that is coming as 0 x 0 so need fix the dimension ??? and any idea for this??
@Allen.jes - have you checked to make sure the database changes that myself and @shouvik Mukherjee mentioned are done? Also, could you provide a link to your site?
@survtime - i have checked my database it looks correct, this is my site url : http://grnmystrt.com/
hi Shouvik & survtime, thanks for your help actually i have checked my dataroot it refers to GMSFILES folder in the root and my in metastring table i have a dataroot path as /home/site/GMSFILES/ so as per your help i have found this all data's but still image is coming as broken image in the browser, give a suggestion for this to fix :)
- Previous
- 1
- 2
- Next
You must log in to post replies.