We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35985
    • 33 Posts
    Im having a similar issue, with calling the image using PhPthumbup with the Orbit slider.

    http://test.shopcoop.org/phpthumbsup/w/970/h/400/src/assets/components/flexibility4/images/slider/flex4_slider_image_02.jpg

    <div class="slideshow-wrapper">
      						<div class="preloader"></div>
    						<ul data-orbit>
    							<li>
    	<img src="/phpthumbsup/w/970/h/400/src/assets/components/flexibility4/images/slider/flex4_slider_image_01.jpg" />
    	
    	<div class="orbit-caption"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eget metus dui. Aenean nec ligula in nulla facilisis commodo et non dolor....</p></div>
    	
    </li><li>
    	<img src="/phpthumbsup/w/970/h/400/src/assets/components/flexibility4/images/slider/flex4_slider_image_02.jpg" />
    	
    </li><li>
    	<img src="/phpthumbsup/w/970/h/400/src/assets/components/flexibility4/images/slider/flex4_slider_image_03.jpg" />
    	
    </li>
    						</ul>
    					</div>
    				</div>


    Is the code, all the functions load and seem to be fine. It fails to load the images though :/

    http://test.shopcoop.org/ is the test site. I did try commenting out the phpthumpup.class.php code from reply #3 and followed the github link to try the code update to line 422. Didnt seem to make a difference. Cleared cache a few times. More than a little baffled smiley

    Pretty sure im in over my head, but any help would be greatly appreciated.

    Oh Rev 2.2.10pl Tradional and a fresh install of the new flexibility 4 1.1.1 fresh install, nothing was done other than installing and loading in some placeholder text and making the homepage. Running on a linux server.

    Thanks to all for all you do!


    PS. hope its alright to post this here smiley
    • Just a quick question. phpthumbsup and transparency (pngs) does it support it? For me, it doesn't currently which renders it useless to most sites I create sad
        GEL STUDIOS
        MODX Professional | MODX Ambassador

        Website | Email | Twitter | Facebook
      • I am in the same boat as Graeme. All the images I need to make thumbs out of are transparent pngs. I assume this doesn't support that file format as a source, since the result thumbnail is jagged and leaves artifacts in the background.

          • 19872
          • 1,078 Posts
          I am beyond excited to discover this MODx Add-On. Before I get too deep in though, does phpThumbsUp process all images being delivered to a page, or I am able to specify which images to resize? If that’s in the documentation, please forgive my question.

          Besides the standard break points — is there an option for resizing for Retina screens?
            • 19872
            • 1,078 Posts
            Quote from: Shopcoop at Nov 16, 2013, 03:06 PM


            <img src="/phpthumbsup/w/970/h/400/src/assets/components/flexibility4/images/slider/flex4_slider_image_03.jpg">



            The path for the img source looks like a series of directories.../w/970/h/400. and since those directories do not exist, there's no way for the image to be found. It might be helpful if someone has a working example so that the code output can be examined. Perhaps though using "img src" is the issue.

            It would be great to know if you get this resolved. I'm be giving phpThumbsUp a try tonight or tomorrow. Hoping I don't have the same issue, but if I do, it would be great to know how to fix.
            • The path for the image does look like a series of directories which don't exist, but the phpThumbsUp plugin should handle the request for the non-existent file before you get a 404. When that happens, the thumb is generated / found and returned directly to the browser.

              You can find more information about how phpThumbsUp works here:

              http://www.darkstardesign.com/resources/phpthumbsup
                www.darkstardesign.com

                Are you in the Nashville area? Join us for our next MODX meetup!
                • 32678
                • 290 Posts
                I am experimenting with different phpthumbsup settings on a photography website. I have issues with the image quality that's output after resizing, and currently am trying to auto-create images (using phpthumbsup's auto_create setting) by setting URLs.

                I'm trying this approach versus others because phpthumb has an unsharp filter that may help with the quality issue mentioned about.

                Following the convention specified by the documentation for auto_create, I set a URL as follow: /w/944/h/670/zc/1/q/100/fltr[]/usm|150|0.5|3/src/

                I then set a path in the template where the image should be placed: src="/w/944/h/670/zc/1/q/100/fltr[]/usm|150|0.5|3/src/[[+tv.imageFile]]"

                The image does not render, and I assume it's because this path is invalid.

                Here's the rub--the unsharp filter really slows performance down considerably, so my preference is to auto-create the various thumbs the site calls. I could set this as a default, but that does not solve the performance issue.

                Any ideas on how to accomplish what I'm after here, which is to auto-generate all thumbs upon upload with the unsharp filter applied?
                  • 36582
                  • 463 Posts
                  My turn to have a problem. Basically the same as Shopcoop.

                  Modx Revo 2.2.11 trad.
                  PHP 5.4.24
                  Linux
                  GDlibrary is installed

                  Image paths look to be configured correctly but there are no images in core/cache/phpthumbsup

                  Interestingly there are images in core/cache/phpthumb

                  Any help is much appreciated.
                    Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
                    • 19872
                    • 1,078 Posts
                    My images are not displaying after implementing newly installed phpThumbsUp. A path is generated in the source code that starts out as /phpthumbsup/src/assets/images/.....
                    Using the Safari Web inspector, there are error number 500 server error that I suspect are related.

                    I was expecting to see a directory called phpthumbsup in my files list, but none is shown. Do I need to create that directory and make it writeable?

                    Stuck in the weeds. Would be very appreciative of any feedback or solution.
                      • 36582
                      • 463 Posts
                      There is a problem with the latest version - see this thread...

                      http://forums.modx.com/thread/84622/flexibility-4-beta-testers-needed?page=4#dis-post-489717
                        Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk