phpvms icon indicating copy to clipboard operation
phpvms copied to clipboard

add download thumbnail

Open arthurpar06 opened this issue 3 years ago • 12 comments

It may be necessary to review the thumbnail position/style in the frontend and the way to make the distinction between the thumbnail and the file when we upload them.

arthurpar06 avatar Feb 06 '22 15:02 arthurpar06

@arthurpar06 is this working as you expect?

nabeelio avatar Feb 07 '22 21:02 nabeelio

@nabeelio for the upload and the backend everything works fine, after as I said it may be necessary to review the frontend part (image size and position) and add a label or something like that to differentiate the two <input type="file" /> in the admin

arthurpar06 avatar Feb 07 '22 21:02 arthurpar06

@arthurpar06 is this still active?

nabeelio avatar Aug 15 '22 15:08 nabeelio

No, you can close it

arthurpar06 avatar Aug 15 '22 15:08 arthurpar06

Is it mostly working, though?

nabeelio avatar Aug 15 '22 17:08 nabeelio

Yes I think we just had to revise the frontend a bit

arthurpar06 avatar Aug 21 '22 15:08 arthurpar06

@FatihKoz would you be able to pull this PR down and see what fix/changes it might need on the frontend?

nabeelio avatar Aug 23 '22 16:08 nabeelio

Why not, but earliest possible time is Saturday or Sunday for a nice check/update.

23 Ağu 2022 Sal 19:08 tarihinde Nabeel S. @.***> şunu yazdı:

@FatihKoz https://github.com/FatihKoz would you be able to pull this PR down and see what fix/changes it might need on the frontend?

— Reply to this email directly, view it on GitHub https://github.com/nabeelio/phpvms/pull/1395#issuecomment-1224286612, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXKVMJ6UYP77PJ56OBQWDTV2TZQDANCNFSM5NVO3FBQ . You are receiving this because you were mentioned.Message ID: @.***>

FatihKoz avatar Aug 23 '22 16:08 FatihKoz

@FatihKoz no rush at all

nabeelio avatar Aug 23 '22 16:08 nabeelio

Just a question, do I need to pull down and create a new pr with my changes (which also will include fixes to current one, stlye fix and removal of down migration) ? Or should I only work on default theme frontend changes when able ?

I think I will not be able to commit on this PR 'cause I am not the owner and/or moderator etc.

FatihKoz avatar Aug 23 '22 17:08 FatihKoz

image

FatihKoz avatar Aug 23 '22 17:08 FatihKoz

I think we need more than just frontend/blade changes on this @nabeelio , there are some issues;

  • If there is no file uploaded along with thumbnail , it does not get uploaded (imagine a scenario like below)

image

path field: https://flightops.turksim.org/test.zip thumbnail field: C:\Users\fatih\AppData\Local\Temp\phpD1E4.tmp

  • Model does not return full url for the thumbnail , it just returns what is recorded to database as expected files/thumbnails/B8p07y7DdJP8Zbyl_startbootstrap-small-business-gh-pages_thumbnail.jpg

Second one is easy, it can be fixed with a model update to generate a new attribute like imageurl or it can be handled in blade with url helpers. First one needs some work.

Results from a quick look and test :(

FatihKoz avatar Aug 23 '22 18:08 FatihKoz

@arthurpar06 do you want to fix this up or should I close it

nabeelio avatar Aug 29 '23 15:08 nabeelio

I can try to take a look when I have some free time but I think we can close, it's not a revolutionary feature either

arthurpar06 avatar Aug 29 '23 17:08 arthurpar06