 |

nyckidd
Novice
Sep 28, 2008, 8:22 PM
Post #1 of 7
(512 views)
Shortcut
|
|
Uploaded images not showing up
|
Can't Post
|
|
hello, I have uploaded images on the admin via cms admin but they do not show up my settings are Upload Directory : /var/www/vhosts/mysite.com/httpdocs/cmsadmin/uploads/ Upload Folder URL : /uploads/ when i look at the source code i see the image at this url : http://uploads/thumb/121_001.jpg any help.
|
|
|  |
 |

Mr Jim
User

Sep 29, 2008, 6:19 AM
Post #2 of 7
(501 views)
Shortcut
|
|
Re: [nyckidd] Uploaded images not showing up
[In reply to]
|
Can't Post
|
|
Try making your uploads URL read: /cmsadmin/uploads/ Jim WebCamp One, LLC The Web Done Right
|
|
|  |
 |

nyckidd
Novice
Sep 29, 2008, 6:27 AM
Post #3 of 7
(499 views)
Shortcut
|
|
Re: [Mr Jim] Uploaded images not showing up
[In reply to]
|
Can't Post
|
|
thanks Mr Jim, i did that but the images still do not show up on the site...
|
|
|  |
 |

Mr Jim
User

Sep 29, 2008, 6:38 AM
Post #4 of 7
(498 views)
Shortcut
|
|
Re: [nyckidd] Uploaded images not showing up
[In reply to]
|
Can't Post
|
|
Are you adding the images to your content field or to a separate uploads field? Answer that and then, if you would, post the snippet of code where you refer to the image on your web page. Jim WebCamp One, LLC The Web Done Right
|
|
|  |
 |

nyckidd
Novice
Sep 29, 2008, 8:09 AM
Post #5 of 7
(487 views)
Shortcut
|
|
Re: [Mr Jim] Uploaded images not showing up
[In reply to]
|
Can't Post
|
|
Mr Jim, Am adding the images via an uploads field....and below is the code am pasting <!-- STEP2: Display Records (Paste this where you want your records to be listed) --> <h1>Listings - List Page Viewer</h1> <?php foreach ($realty_listingRecords as $record): ?> Record Number: <?php echo $record['num'] ?><br/> Featured Property: <?php echo $record['featured'] ?><br/> Property Type: <?php echo $record['property_type'] ?><br/> Price: <?php echo $record['price'] ?><br/> MLS #: <?php echo $record['mls'] ?><br/> Address: <?php echo $record['address'] ?><br/> City: <?php echo $record['city'] ?><br/> State / Province: <?php echo $record['state'] ?><br/> Bedrooms: <?php echo $record['bedrooms'] ?><br/> Bathrooms: <?php echo $record['bathrooms'] ?><br/> Stories: <?php echo $record['stories'] ?><br/> House Size - ft²: <?php echo $record['house_size_ft'] ?><br/> Lot Size: <?php echo $record['lot_size'] ?><br/> Age of Home: <?php echo $record['age_of_home'] ?><br/> Appliances: <?php echo $record['appliances'] ?><br/> Fireplace: <?php echo $record['fireplace'] ?><br/> Central AC: <?php echo $record['central_ac'] ?><br/> Pool: <?php echo $record['pool'] ?><br/> Waterfront: <?php echo $record['waterfront'] ?><br/> Workshop: <?php echo $record['workshop'] ?><br/> Near Transit: <?php echo $record['near_transit'] ?><br/> Near School: <?php echo $record['near_school'] ?><br/> Summary: <?php echo $record['summary'] ?><br/> Description: <?php echo $record['description'] ?><br/> <a href="<?php echo $record['_link'] ?>">Read More</a><br/> <!-- STEP 2a: Display Uploads for field 'uploads' (Paste this anywhere inside STEP2 to display uploads) --> <!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 --> <?php foreach ($record['uploads'] as $upload): ?> <?php if ($upload['hasThumbnail']): ?> <img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" /><br/> <?php elseif ($upload['isImage']): ?> <img src="<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" /><br/> <?php else: ?> <a href="<?php echo $upload['urlPath'] ?>">Download <?php echo $upload['filename'] ?></a><br/> <?php endif ?> <?php endforeach ?> <!-- STEP2a: /Display Uploads --> <hr/> <?php endforeach; ?> <?php if ($realty_listingMetaData['invalidPageNum']): ?> Results page '<?php echo $realty_listingMetaData['page']?>' not found, <a href="<?php echo $realty_listingMetaData['firstPageLink'] ?>">start over >></a>.<br/><br/> <?php elseif (!$realty_listingRecords): ?> No records were found!<br/><br/> <?php endif ?> <!-- /STEP2: Display Records --> <!-- STEP3: Display Page Links (Paste anywhere below "Load Record List") --> <?php if ($realty_listingMetaData['prevPage']): ?> <a href="<?php echo $realty_listingMetaData['prevPageLink'] ?>"><< prev</a> <?php else: ?> << prev <?php endif ?> - page <?php echo $realty_listingMetaData['page'] ?> of <?php echo $realty_listingMetaData['totalPages'] ?> - <?php if ($realty_listingMetaData['nextPage']): ?> <a href="<?php echo $realty_listingMetaData['nextPageLink'] ?>">next >></a> <?php else: ?> next >> <?php endif ?> <!-- /STEP3: Display Page Links -->
|
|
|  |
 |

Mr Jim
User

Sep 29, 2008, 8:25 AM
Post #6 of 7
(484 views)
Shortcut
|
|
Re: [nyckidd] Uploaded images not showing up
[In reply to]
|
Can't Post
|
|
I've tried to duplicate your problem, but can't make it happen. Perhaps someone else might chime in to help. Jim WebCamp One, LLC The Web Done Right
|
|
|  |
 |

ross
Staff
/ Moderator

Sep 29, 2008, 9:08 AM
Post #7 of 7
(472 views)
Shortcut
|
|
Re: [nyckidd] Uploaded images not showing up
[In reply to]
|
Can't Post
|
|
Hi. Thanks for working through all this here. I am thinking it might be time to take a closer look for you. Would you mind sending me a full support request for this one? Here's a link: https://www.interactivetools.com/support/email_support.cgi I am sure we are really close to getting this sorted out. I look forward to hearing from you ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|