Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 15 07:35
    yogeshsaroya closed #180
  • Jun 15 07:33
    mosbth labeled #180
  • Jun 15 07:33
    mosbth labeled #180
  • Jun 15 07:33
    mosbth assigned #180
  • Jun 15 07:33
    mosbth commented #180
  • Jun 13 15:13
    yogeshsaroya opened #180
  • Jun 09 08:19
    yogeshsaroya closed #179
  • Jun 09 08:11
    yogeshsaroya opened #179
  • Jun 08 10:49
    Travis mosbth/cimage (v0.8.1) errored (333)
  • Jun 08 10:48
    Travis mosbth/cimage (master) errored (332)
  • Jun 08 10:39

    mosbth on v0.8.1

    (compare)

  • Jun 08 10:39

    mosbth on master

    Updated version number in defin… (compare)

  • Jun 08 10:38
    Travis mosbth/cimage (v0.8.0) errored (331)
  • Jun 08 10:37
    Travis mosbth/cimage (master) errored (330)
  • Jun 08 10:34
    mosbth commented #177
  • Jun 08 10:28
    mosbth labeled #177
  • Jun 08 10:27

    mosbth on v0.8.0

    (compare)

  • Jun 08 10:27

    mosbth on master

    Add function getValue() to read… Set PHP 7.0 as precondition (to… Enable to set JPEG image as int… (compare)

  • Jun 08 04:49
    yogeshsaroya commented #177
  • May 06 08:01
    Travis mosbth/cimage (v0.7.23) errored (329)
Mikael Roos
@mosbth
hmm.
Mike Ellis
@m1ke_ellis_twitter
I literally just have imgp.php in a folder, that's the "bundled version", so shouldbe ok, right?
I mean, no other dependencies?
Mike Ellis
@m1ke_ellis_twitter
yeh..
Mikael Roos
@mosbth
But its not displayed correctly and the error message is a bit odd.
Mike Ellis
@m1ke_ellis_twitter
ok, this is odd, not sure if some cache thing
but I can see this ok:
but this, no:
only difference is order of querystrings....?!
Mikael Roos
@mosbth
The order should not matter.
Mike Ellis
@m1ke_ellis_twitter
no, that's what I would assume
Mikael Roos
@mosbth
I can now see both your links of POMC02603.jpg, one of them needed to be recreated in the cache, by adding &nc or &no-cache. That recreates the image in the cache.
Mike Ellis
@m1ke_ellis_twitter
ok...
so there's something odd about the cache maybe
Mikael Roos
@mosbth
Yep
The first image is also okey now (I recreated it using &nc).
Mike Ellis
@m1ke_ellis_twitter
k
There are things appearing in the cache directoy
so it's writeable ok
Mikael Roos
@mosbth
Hmmm.
Mike Ellis
@m1ke_ellis_twitter
It's new hosting so I'm a little unfamiliar with it
Mikael Roos
@mosbth
Clear the cache dir, manually by removing the files in it? Perhaps odd owner/rights (guessing).
Mike Ellis
@m1ke_ellis_twitter
Ok, will try that
ok, done
I think that might have nailed it
Hm, maybe not
I guess I can just use &nc
would imagine serverside caching would deal with speed anyway
Mikael Roos
@mosbth
Would be intresting to see a ls -lR cache...
Do you get the same results when using imgd.php?
Mike Ellis
@m1ke_ellis_twitter
haven’t tried imgd
popped result into private message.
Mikael Roos
@mosbth
@m1ke_ellis_twitter seems like you solved it?
Mike Ellis
@m1ke_ellis_twitter
@mosbth Using &nc throughout - seems to work, and speed seems ok
Thanks for your help. If you have a brainwave about the caching let me know but am happy :-)
Mikael Roos
@mosbth
Oki. &ncis really only for development since it recreates the cached image file on each access, it does not take advantage of the cached file.
There is some odd problem you have. The first image you linked to - it fails 9 out of 10 times for me. But occasionally it works.
Perhaps disable postprocessing (if you have enabled it), as a step in troubleshooting.
Still just guessing...
Mikael Roos
@mosbth
Ah, perhaps an issue with you (nginx) cache?
https://salfordandcheethaminfocus.co.uk/cimage/webroot/imgp.php?src=POMC06608B.jpg&1 (works, which might indicate caching issues related to the url since &1 is completely irrelevant for cimage)
https://salfordandcheethaminfocus.co.uk/cimage/webroot/imgp.php?src=POMC06608B.jpg (fails, for some reason, perhaps cached by nginx or other frontend cache)
If it is only some images that fails, check each image, add &1, if it works, suspect general http caching (nginx or other).
This somehow relates to what you said "it works if I change the order of the querystring arguments". That is irrelevant to cimage, but might indicate general http caching issues.
Mike Ellis
@m1ke_ellis_twitter
@mosbth ah, that’s interesting, thanks - will look into that
Mike Ellis
@m1ke_ellis_twitter
Hi @mosbth - how would I get cimage to ignore file extension?
This for instance works:
Mikael Roos
@mosbth
The second link works for me, right?
Mike Ellis
@m1ke_ellis_twitter
It’s a “no image” image, though, right? I want it to be the same as the first one