Coder Social home page Coder Social logo

image not displaying about phpsmug HOT 2 CLOSED

lildude avatar lildude commented on July 18, 2024
image not displaying

from phpsmug.

Comments (2)

lildude avatar lildude commented on July 18, 2024

Does the gallery in question have "External Embedding" set to "Off" in the gallery settings? This is the most common cause for the behaviour you are seeing.

If it does, you'll need to use the $f->signResource() method for each of the URL links if you don't want to enable external links.

An example of this usage can be found in this gist.

In the example, the unsigned image if first and shouldn't show and the second is the signed and should show. Keep in mind that you may see it the other way round if you're logged into SmugMug at the time of testing so make sure you test in an incognito window or ensure you're logged out.

from phpsmug.

clintthayer avatar clintthayer commented on July 18, 2024

Very helpful. I'll take a look at the settings and test again.

On Friday, June 6, 2014, Colin Seymour [email protected] wrote:

Does the gallery in question have "External Embedding" set to "Off" in the
gallery settings? This is the most common cause for the behaviour you are
seeing.

If it does, you'll need to use the $f->signResource() method for each of
the URL links if you don't want to enable external links.

An example of this usage can be found in this gist
https://gist.github.com/lildude/00f8f00cc9bdc3163c83.

In the example, the unsigned image if first and shouldn't show and the
second is the signed and should show. Keep in mind that you may see it the
other way round if you're logged into SmugMug at the time of testing so
make sure you test in an incognito window or ensure you're logged out.


Reply to this email directly or view it on GitHub
#23 (comment).

Cheers,
Clint

Technology
www.thayernet.com

Photo
www.focalflame.com

from phpsmug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.