Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Thumbnails photos breaks #1

Open
ykyuen opened this issue Nov 13, 2012 · 6 comments
Open

Thumbnails photos breaks #1

ykyuen opened this issue Nov 13, 2012 · 6 comments

Comments

@ykyuen
Copy link

ykyuen commented Nov 13, 2012

Thanks for this great module. however i couldn't make the thumbnail works in the index.php. after i extract it on my apache htdocs folder. i copy some photos to the folders under gallery. but the thumbnail could not display probably. although a cache folder is created, the thumbnail image link is not correct and points to sth like ../../../../../xxx.jpg.

@ykyuen
Copy link
Author

ykyuen commented Nov 13, 2012

<div id="galleryWrapper">
    <ul id="galleryList" class="clearfix">
            <li><a href="galleries/cats/0.jpg" title="0" rel="cats" class="cboxElement"><img src="../../../../../100-946ca953802aadb45c716b1004b3e4ba.jpg" alt="0"></a></li>
    </ul>
    <div id="galleryFooter" class="clearfix">
        <div id="credit">Powered by, <a href="http://www.ubergallery.net">UberGallery</a></div>
    </div>
</div>

@ykyuen
Copy link
Author

ykyuen commented Nov 13, 2012

i find the cause of the problem. The thumbnail could be shown after i modified the $this->_rThumbsDir to the cache folder name.

// Get the relative thumbs directory path
//$this->_rThumbsDir = $this->_getRelativePath(getcwd(), $this->_cacheDir);
$this->_rThumbsDir = "cache";

@Torsten-K
Copy link

I tried this multi-gallery script in February 2017, and it did not create any thumbnails. Also, I could not find such a line of code like in ykyuen’s posting. So – no bugfix of this issue since 2012?!

@ykyuen
Copy link
Author

ykyuen commented Feb 27, 2017

@Torsten-K
Copy link

Thanks for your help, ykyuen, much appreciated. Anyway, in the meantime I deleted UberGallery, because I found a multiuser gallery CMS (Chevereto) which fits much better to my needs.

@Tinman33
Copy link

Worked for me. Using it now. Very good fix. Shame someone cant update the download.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants