• #923

    Frican
    Participant

    1,166

    Feature Image

    How can I edit Feature Image to be size 300×250 so everyone can upload their feature image without a problem?

    Thank you

Viewing 13 replies - 1 through 13 (of 13 total)
  • #927

    Dear @frican

    The image resize logic you will be find at /root/app/Http/Controllers/CampaignsController.php at line number 258

    Find this code

    $resized = Image::make($image)->resize(300, null, function ($constraint) {
                    $constraint->aspectRatio();
                });

    and replace null to a specific height, i’ve given you the example code

    $resized = Image::make($image)->resize(300, 250, function ($constraint) {
                    $constraint->aspectRatio();
                });

    Just copy and replace the above code to there, the image will be resized to this size.

    Beware: it will be stretched your image if it not well ratio.

    Best regards

    #929

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #932

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #934

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #938

    Dear @frican

    For the find issue, we need your server credential and admin URL, admin login,

    Please provide us this privately, So We can check it.

    Best regards

    #939

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #940

    Dear @frican

    You have not added your URL

    Please add your URL with admin login

    Best regards

    #942

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #943

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #944

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
    #945

    Dear @frican

    I’m checking your site, if there any of our fault, then you no need to be pay. We will fix this as soon as possible

    Best regards

    #946
    This reply has been marked as private and you are not authorised to see.
    #947

    Frican
    Participant
    This reply has been marked as private and you are not authorised to see.
Viewing 13 replies - 1 through 13 (of 13 total)

Purchase for access

Buy a copy of GetFund – A Professional Laravel Crowdfunding Platform for access to our member center.

Buy