Jump to content

joe_g

Members
  • Content Count

    197
  • Joined

  • Last visited

Community Reputation

16 Good

About joe_g

  • Rank
    Sr. Member

Recent Profile Visitors

4,288 profile views
  1. Yes! createdUser, thats the one I was looking for. Thanks!
  2. Hi, how do i display the created by user name in the list of the backend, together with the page title? I tried title, created_by.title title, createdby title, createdby.name title, created_by.name ...etc thanks!
  3. @Robin S Update: seems shaky. Gives error " Notice: Undefined index: quality in .../CroppableImage3Helpers.class.php on line 207". Then, uploading doesn't actually work (never ends). But thanks anyway!
  4. @Robin S YES! Thank you! This is exactly it. Not sure how I missed it?! ...!
  5. @ZekaWhat I'm looking for is that the editor is able to do custom named crops. I'd like the editor to be able to manually decide how a 'mobile' crop should be cropped. So not just automatically cropped from the center, and also not cropped from a focus point (which is mentioned elsewhere) but a custom named crop where the editor decides exactly what crop is going to be "portrait" for example. I'd like to be able to define named variations such as "portrait, square, landscape" and the editor can make manual crops for each of these three named crops (but based on the same image), and save them as separate variations. Then again, perhaps I'm over-complicating things. I should just stick to using focus point. It's slightly less flexible in that you have to choose one single focus point, but easier to reason around perhaps. I have a client with images that has some quite specific requirements, like top-right crop for mobile, center for desktop and center-right for tablet (for example) - you can't do this with focus point. thanks again
  6. Yes, If I have an image, then would like to store different crops - possibly to be used together with the <picture> element
  7. Hi all, What would be the best way to maintain different crops of the same image 'desktop', 'mobile', or perhaps 'landscape', 'portrait', 'square', etc? And perhaps with some fall back, that if mobile is missing, it falls back to desktop, or similar? I was hoping to avoid having to make separate fields for variations, if possible. many thanks! J
  8. Hi, I recently found out about the page-edit-created permission. That's amazing. But is there a way to get it to work for parents. Lets say user P created the page A - is it possible to let P edit all children (and grandchildren) of A but not children of B, that P didn't create? Lets call them AA, AAA, ABA, ABB (children of A). and BA, BAA, BBB (children of B). And, furthermore, I have now a case where I would like to change the owner of A to P, and let P edit AA, AAA, ABA, ABB without having to individually change each page to owner P. Possible? Put differently, what I'd like is to make P owner of a node in a tree, and that all pages under that sub-tree belongs to P, but nothing else outside this sub-tree. From what I understand page-edit-permission only works per page or template - but not children? Or is there a better way to tackle this? Again with examples: project1 (project template) event1 (event template) event2 (event template) project2 (project template) event3 (event template) event4 (event template) if I give P ownership of project1, i cannot prevent P from adding events under project2, right? Also, if I change owner for project 1, i have to change owner of event1 and event2 for P to be able to edit those - I was hoping i wouldn't have to do that. Is there such a thing as page-add-child-created :)? thanks!
  9. Hi there, Is it true that ProTable can't have images or or files, or did I do something wrong with my setup? thanks!
  10. two good suggestions - thanks! Media manager looks particularly impressive
  11. In a lot of projects I find myself making the difficult decision between the ability to drag-upload 20 jpg images and the ability to add other file-types in between. It's a choice between easy upload or versatility in the structure. It's been an ongoing quest for me, for a couple of years so I'm checking back to see if there are any new solutions to this since, say, the last 3 years? The dream would be to allow drag drop a bunch of files into a repeater field and automatically create children depending on the file type (mp4, jpg, etc). But maybe there are other ways?
  12. @horst ...Wow!! I had no idea and I've been using PW since about forever. thank you!
  13. @horst For a second I thought there was a built in zip unpack in PW, but it doesn't seem like it. Uploading a zip gives 'invalid image'. The client (or me) drags 20 images to an images field, but about 10 makes it after save. Are you sure there is a way to do this via zip?
  14. Thanks! Your link is about disabling fingerprinting. I remember that being an issue in the past, but didn't help this time Because it happens with some regularity, but with different images, it almost feels like it's some form of throttling on the servers. Maybe a security measure not to allow too many authenticated connections at once? Sounds weird, and I've never seen anything similar before. It's the same across browsers and computers, so not a client side issue probably. The host is TSO (UK).
  15. Here is a new thread about image upload problems. I think it's a new one, I've been through all the old threads I could find. When uploading multiple images at once (dragging) SOME fails. It's about 50%. Tried debug=true and false (remember this solving the problem in the past) It's not always the same images that fails Successful uplads gets JSON back Failed uploads get HTML back Nothing interesting from errors.log or the other logs No logs from Tracy ONCE I've gotten a SQL error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3947-0' for key 'PRIMARY' (in /wire/core/FieldtypeMulti.php line 305) ProcessWire 3.0.148 © 2020 PHP 7.3 Success JSON: [{"error":false,"message":"Added file: run3_3382889b-2.jpg","file":"\/beta\/site\/assets\/files\/3942\/run3_3382889b-2.jpg","size":86775,"markup":"<li id='file_c55bcbd2fa4f1a2517b1a2ba0c025920' class='ImageOuter gridImage ui-widget'><div class='gridImage__tooltip'><table><tr><th>Dimensions<\/th><td>620x399<\/td><\/tr><tr><th>Filesize<\/th><td>85 kB<\/td><\/tr><tr><th>Variations<\/th><td>0<\/td><\/tr><\/table><\/div>\n\t\t\t<div class='gridImage__overflow'>\n\t\t\t\t<img src=\"\/beta\/site\/assets\/files\/3942\/run3_3382889b-2.0x260.jpg?nc=1598018196\" alt=\"\" data-w=\"620\" data-h=\"399\" data-original=\"\/beta\/site\/assets\/files\/3942\/run3_3382889b-2.jpg?nc=10\" data-focus=\"50 50 0\" \/>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div class='gridImage__hover'>\n\t\t\t\t\t<div class='gridImage__inner'>\n\t\t\t\t\t\t<label for='' class='gridImage__trash'>\n\t\t\t\t\t\t\t<input class='gridImage__deletebox' type='checkbox' name='delete_images_c55bcbd2fa4f1a2517b1a2ba0c025920' value='1' title='Delete' \/>\n\t\t\t\t\t\t\t<span class='fa fa-trash-o'><\/span>\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<a class='gridImage__edit'>\n\t\t\t\t\t\t\t<span>Edit<\/span>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t\t<div class='ImageData'>\n\t\t\t\t\t<h2 class='InputfieldImageEdit__name'><span contenteditable='true'>run3_3382889b-2<\/span>.jpg<\/h2>\n\t\t\t\t\t<span class='InputfieldImageEdit__info'>85 kB, 620×399 <\/span>\n\t\t\t\t\t<div class='InputfieldImageEdit__errors'><\/div>\n\t\t\t\t\t<div class='InputfieldImageEdit__buttons'><small><button type='button' data-href='\/beta\/processwire\/page\/image\/edit\/?id=3942&file=3942,run3_3382889b-2.jpg&rte=0&field=images' class='InputfieldImageButtonCrop uk-button uk-button-small uk-button-text uk-margin-small-right pw-modal-large pw-modal' data-buttons='#non_rte_dialog_buttons button' data-autoclose='1' data-close='#non_rte_cancel'><i class='fa fa-crop'><\/i> Crop<\/button><button type='button' class='InputfieldImageButtonFocus uk-button uk-button-small uk-button-text uk-margin-small-right'><i class='fa fa-circle-o' data-toggle='fa-circle-o fa-dot-circle-o'><\/i> Focus<\/button><button type='button' data-href='\/beta\/processwire\/page\/image\/variations\/?id=3942&file=run3_3382889b-2.jpg&modal=1&varcnt=varcnt_images_c55bcbd2fa4f1a2517b1a2ba0c025920' class='uk-button uk-button-small uk-button-text uk-margin-small-right pw-modal-large pw-modal' data-buttons='button'><i class='fa fa-files-o'><\/i> Variations <span class='ui-priority-secondary'>(1)<\/span><\/button><\/small> <select class='uk-select uk-form-small InputfieldFileActionSelect' name='act_images_c55bcbd2fa4f1a2517b1a2ba0c025920'><option value=''>Actions<\/option><option value='dup'>Duplicate<\/option><option value='fv'>Flip vert<\/option><option value='fh'>Flip horiz<\/option><option value='fb'>Flip both<\/option><option value='r90'>Rotate 90°<\/option><option value='r180'>Rotate 180°<\/option><option value='r270'>Rotate 270°<\/option><option value='r-90'>Rotate -90°<\/option><option value='r-180'>Rotate -180°<\/option><option value='r-270'>Rotate -270°<\/option><option value='bw'>B&W<\/option><option value='sep'>Sepia<\/option><\/select> <span class='InputfieldFileActionNote detail'>Action applied at save.<\/span><\/div>\n\t\t\t\t\t<div class='InputfieldImageEdit__core'><div class='InputfieldFileDescription'><label for='description_images_c55bcbd2fa4f1a2517b1a2ba0c025920' class='detail pw-hidden'>Description<\/label><input type='text' name='description_images_c55bcbd2fa4f1a2517b1a2ba0c025920' id='description_images_c55bcbd2fa4f1a2517b1a2ba0c025920' placeholder='Description…' value='' \/><\/div><\/div>\n\t\t\t\t\t<div class='InputfieldImageEdit__additional'><\/div>\n\t\t\t\t\t<input class='InputfieldFileSort' type='text' name='sort_images_c55bcbd2fa4f1a2517b1a2ba0c025920' value='1' \/>\n\t\t\t\t\t<input class='InputfieldFileReplace' type='hidden' name='replace_images_c55bcbd2fa4f1a2517b1a2ba0c025920' \/>\n\t\t\t\t\t<input class='InputfieldFileRename' type='hidden' name='rename_images_c55bcbd2fa4f1a2517b1a2ba0c025920' \/>\n\t\t\t\t\t<input class='InputfieldImageFocus' type='hidden' name='focus_images_c55bcbd2fa4f1a2517b1a2ba0c025920' value='50 50 0' \/>\n\t\t\t\t<\/div>\n\t\t\t<\/li>","replace":false,"overwrite":0}] HTML returned when failed <form id="ProcessLoginForm" class="InputfieldFormFocusFirst InputfieldFormNoWidths InputfieldFormVertical uk-form-vertical InputfieldForm" method="post" action="./?id=3942" data-colspacing="0"><script>if(!navigator.cookieEnabled) document.write('<p class=ui-state-error-text>Cookie check failed: please enable cookies to login.</p>');</script><noscript><p class=ui-state-error-text>Javascript check failed: please enable Javascript to login.</p></noscript><ul class='Inputfields uk-grid-collapse uk-grid-match' uk-grid uk-height-match='target: > .Inputfield:not(.InputfieldStateCollapsed) > .InputfieldContent'><li class='Inputfield InputfieldText Inputfield_login_name collapsed9 uk-width-1-1' id='wrap_login_name'><label class='InputfieldHeader uk-form-label' for='login_name'>Username</label><div class='InputfieldContent uk-form-controls'><input id="login_name" class="ProcessLoginName uk-input InputfieldMaxWidth" name="login_name" type="text" maxlength="2048" /></div></li><li class='Inputfield InputfieldText Inputfield_login_pass collapsed9 uk-width-1-1' id='wrap_login_pass'><label class='InputfieldHeader uk-form-label' for='login_pass'>Password</label><div class='InputfieldContent uk-form-controls'><input id="login_pass" class="ProcessLoginPass uk-input InputfieldMaxWidth" name="login_pass" type="password" maxlength="2048" /></div></li><li class='Inputfield InputfieldSubmit Inputfield_login_submit uk-width-auto uk-margin-top' id='wrap_Inputfield_login_submit'><div class='InputfieldContent uk-form-controls'><button id="Inputfield_login_submit" class="ui-button ui-widget ui-state-default ui-corner-all" name="login_submit" value="Login" type="submit"><span class='ui-button-text'>Login</span></button></div></li><li class='Inputfield InputfieldHidden Inputfield_login_hidpi uk-width-1-1' id='wrap_login_hidpi'><label class='InputfieldHeader uk-form-label' for='login_hidpi'>login_hidpi<i title='Toggle open/close' class='toggle-icon fa fa-fw fa-angle-down' data-to='fa-angle-down fa-angle-right'></i></label><div class='InputfieldContent uk-form-controls'><input id="login_hidpi" name="login_hidpi" value="0" type="hidden" /></div></li><li class='Inputfield InputfieldHidden Inputfield_login_touch uk-width-1-1' id='wrap_login_touch'><label class='InputfieldHeader uk-form-label' for='login_touch'>login_touch<i title='Toggle open/close' class='toggle-icon fa fa-fw fa-angle-down' data-to='fa-angle-down fa-angle-right'></i></label><div class='InputfieldContent uk-form-controls'><input id="login_touch" name="login_touch" value="0" type="hidden" /></div></li><li class='Inputfield InputfieldHidden Inputfield_login_width uk-width-1-1' id='wrap_login_width'><label class='InputfieldHeader uk-form-label' for='login_width'>login_width<i title='Toggle open/close' class='toggle-icon fa fa-fw fa-angle-down' data-to='fa-angle-down fa-angle-right'></i></label><div class='InputfieldContent uk-form-controls'><input id="login_width" name="login_width" value="0" type="hidden" /></div></li></ul><input type='hidden' name='TOKEN1019986142X1598018203' value='6pe86O2MtD6nttH6QOfKyYQYFyuo45rP' class='_post_token' /></form><p><div><a href='/beta/'><i class='fa fa-home'></i> Home</a></div></p> many thanks!
×
×
  • Create New...