Search the Community
Showing results for tags 'images'.
-
Clicking around the Internet seems to state that images can only be accessed via http, and that I can't use php's 'include()' function to do it. . 1. I'd appreciate any suggestions for effective ways to access the images when placed one or two levels above/behind the root folder. . 2. Are there good alternate ways to pull up the images when placed in the regular images folder in front of the root folder, other than using http which means referencing them relatively or absulutely? . Thanks. - Cynthie
-
Here is my directory structure currently in the public html folder. uploaded_images (folder) allmyotherphpfiles.php allmyotherphpfiles.php allmyotherphpfiles.php allmyotherphpfiles.php Should the uploaded_images (folder) be stored outside the public html folder, so that hackers can't hack that folder, or is it safe to leave my folder like it is now.
-
Larry, I have been surfing all day and can not find the topic, how to display multiple images in CDetailView. My situation are as follows: I have uploaded multiple images, the image jpg files stored in /images/doc directory. I have entried path to the images in a cell, means the cell contain three filenames with comma separated: abc.jpg, xyz.jpg, abaca.jpg. I wanna to display the link in CDetailView which clickable to open the image in new tab browser. I have tried with this script: array( 'name'=>'File Link', 'type'=>'raw',
-
Hi Larry, I really enjoy your book, but I am having trouble viewing my image after clicking on it. When I comment out the failsafe> unavailable image, I receive a block of code <br /> <font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'> <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable: image in C:\wamp\www\Website\show_image.php on line <i>38</i></th>&l
- 5 replies
-
- images
- javascript
-
(and 1 more)
Tagged with:
-
Hi everyone, I am really enjoying your book Larry, thanks. My problem is I am on the page where you use the header function and javascript to display the images from the uploads folder. I have one picture and for some reason when I click it, it does nothing. Would anyone care to look at my code or give me some hints as to why it is not working? I have tried the following: Compare my code to Larry's code Used Larry's code Enabled pop-ups Moved the javascript folder to a different location (a folder above and then changing the a href to ../javascript) images.php <!DOCTY
-
i'm currently confused on how to resized an image without losing its quality. for example i have 1920x1080 picture and i resized it to 400x225 i am bit satisfy as it succeeded but the things is that, the picture losed its resolution. my formula is here: new height = (original height/original width) * new width and vice versa. while maintaining the aspect ratio i noticed that the resolution degrades and get pixelated. any advice sir?
-
Hi guys, in need of some help attaching images to the table on the browse_prints.php page, is this possible to do? Sorry I am pretty new to php and have tried playing around with some code but only get errors - I have managed to get the 'request image is not available' image to appear in the table so think im not too far off. If anyone has managed to do this or could be off assistance would be great to hear from you! Thanks