Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dan
    @danrye
    @markguinn is it expected behavior that images would be treated as "from the web" and therefore be processed by the oembed photo handler?
    Mark Guinn
    @markguinn
    No, I've never seen that happen
    Are you using 3.1 or 3.2?
    Dan
    @danrye
    3.1.13
    Mark Guinn
    @markguinn
    With rackspace? Or S3?
    Dan
    @danrye
    S3
    Mark Guinn
    @markguinn
    It's showing up as an embed in your template?
    Dan
    @danrye
    [embed width="300" height="267" class="leftAlone" thumbnail="https://s3.amazonaws.com/crds-cms-uploads/Screen-Shot-2015-05-04-at-4.07.42-PM.png?r"]https://s3.amazonaws.com/crds-cms-uploads/Screen-Shot-2015-05-04-at-4.07.42-PM.png[/embed]
    instead of just an img tag
    when it gets rendered out it becomes an image tag, because oembed shortcode handles it
    Mark Guinn
    @markguinn
    let me check and see if the same thing is happening on one of our sites and i jsut never noticed.
    Mark Guinn
    @markguinn
    it does look like it's seeing the image as external but I'm getting an <img> tag instead of an embed.
    Dan
    @danrye
    in the tinymce editor it shows img tag
    Mark Guinn
    @markguinn
    i'm not sure if that's just a slightly different SS version (i think we're maybe a few patch releases behind 3.1.13) or because i'm using the rackspace driver instead of s3
    Dan
    @danrye
    but if you look in the DB it'll have the embed (I'm betting)
    Mark Guinn
    @markguinn
    I don't see it in the database either, actually. I belive you though. :)
    Dan
    @danrye
    while this solves my problem for now, I wish I knew why it was working this way
    Brian Irwin
    @luminousmg
    Hello, I am trying to use cloudassets with the latest release of SS 3.2. I am connecting through the s3 bucket driver and am getting the following error when I try to upload an image through the file manager:
    Object->__call(): the method 'parent' does not exist on 'Image'
    Mark Guinn
    @markguinn
    I haven't tested this model much with 3.2. It's pretty tightly coupled with the internals of the File and Image classes so I'm not too surprised if some things break.
    Nic
    @muskie9
    @luminousmg I'm experiencing the same issue. @markguinn is it safe to assume the issue is in the cloud assets module and not the modules for the containers (s3, rackspace, etc)? I'd take a look and see if I can track down the issue.
    Mark Guinn
    @markguinn
    I think you're probably right. CloudImage gets pretty hacky with the internals of the image object, so I'm guessing those changed enough that CloudImage no longer works.
    Nic
    @muskie9
    I know there were some changes to the image formatting function names and default behavior for overwriting existing files
    Hans Philip Eide
    @hpeide
    hi! I get an warning in the Upload filed with the Rackspace module: Object->__call(): the method 'parent' does not exist on 'Image'. The image gets saved on the server, so with overwrite existing config set a second upload works fine.
    Hans Philip Eide
    @hpeide
    after som digging I found that it breaks after CloudFileExtension::updateCloudStatus line 126. Looks like Silverstripe don't like that the classname is changed... tried various as setClassName and newClassInstance with no luck.
    Mark Guinn
    @markguinn
    @hpeide which version of SS are you using?
    Hans Philip Eide
    @hpeide
    SS 3.3.1 and experiencing the same with 3.2.x
    Mark Guinn
    @markguinn
    A workaround might be to use the Injector to replace File with CloudFile and Image with CloudImage out of the box.
    When I originally built the module I didn't understand the Injector very well.
    Just make sure you explicitly map Folder to itself as well.