Skip to content

image create full of nil #4

@HelloWaow

Description

@HelloWaow

Hi,
I'm trying to add an image to an item but I have a problem. All the element are Nil:

` image = Craftar::Image.create(item: item.resource_uri, file: lienImgOrig)

=> #<Craftar::Image:0x0000000624f0a8 @uuid=nil, @item=nil, @file=nil, @resource_uri=nil, @name=nil, @status=nil, @thumb_120=nil, @thumb_60=nil, @tracking_data_status=nil>`

If anyone has the solution it could be very helpfull!!
Thank
Have a nice day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions