Skip to content

Make it work for remote image and any images size #1

@onigetoc

Description

@onigetoc

Hi,

I love your images filter and i want to use it.
but i need it to fit different images size.

what i'm trying is to resize the overlay png but after many attempt i'm lost, it doesn't work.

Do you think its the best way to resize the overlay to fit the images?

Here my attemp but it doesn't work.
the last two thumbnails are from Flick.
http://scripts.toolurl.com/GD-Filter-testing-master/index-GC.php

I made some change to get remote or any image here:
http://scripts.toolurl.com/GD-Filter-testing-master/index-GC.php.txt

here the process part that i try to modify. I guess i should modify the gd_apply_overlay function to resize the overlay png image.

http://scripts.toolurl.com/GD-Filter-testing-master/process-GC-resize-overlay.php.txt

If you can help it will be great.
And it will make your script better i think.

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