kallefrombosnia
kallefrombosnia
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
Thats weird. @ifox any idea maybe
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
Can you confirm that your image is in that exact path?
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
Ok, nevermind storage link is not needed since this comes from the controller which grabs the image from the storage/app/public/uploads/1a437793-b32d-41a8-b18d-ced69955c6aa/image.png.
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
Are you on the win or other OS? file perm could be a problem
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
APP_DEBUG should be true
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
It should tell you why images dont load
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
Check the browser devtools->network or laravel.log
15 replies
TCTwill CMS
Created by Bradley on 8/20/2024 in #👊support
Image File not Found
Do you have storage linked to the public directory? artisan storage:link
15 replies
TCTwill CMS
Created by Sunil on 7/31/2024 in #👊support
install twill with docker and wsl
Do you have GD extension enabled? php.ini
6 replies
TCTwill CMS
Created by Sunil on 7/31/2024 in #👊support
install twill with docker and wsl
You should check the browser network tab and the media requests. Check the URL and the response header. It should tell you whats wrong.
6 replies
TCTwill CMS
Created by Adam Mateusz Brożyński on 6/29/2024 in #👊support
Is it possible to use Twill with Twig (rcrowe) for frontend (block and module templates)?
If you dont need an admin block preview, you can exclude blade completly. You can create blocks without blade files. And for the frontend, you can extract block json data from the given module record/singleton and use it as headless or pass it down to your own preferenced templating engine in the controller.
6 replies
TCTwill CMS
Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Picture is already cropped from what I can see from your URL. https://glide.thephpleague.com/2.0/api/crop/ <img src="kayaks.jpg?crop=100,100,915,155"> If you see docs for the crop, your example is cropped like 200,200,297,0
22 replies
TCTwill CMS
Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Also you can check if media exists by
$item->hasImage('main_banner', 'default'); // returns bool
$item->hasImage('main_banner', 'default'); // returns bool
22 replies
TCTwill CMS
Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
And your uploaded picture size is? Btw you can controll the w&h by setting params
$item->image('main_banner', 'default', ['w' => 100, 'h' => 100]); // wh- pixels
$item->image('main_banner', 'default', ['w' => 100, 'h' => 100]); // wh- pixels
22 replies
TCTwill CMS
Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Hello. Can you show us how you render the picture (code)? Do you specify crop name as a second param?
22 replies
TCTwill CMS
Created by Huy Tớn on 3/21/2024 in #👊support
Save images in multple sizes for responsive?
Crops defined on your Model will be used, but in the aspect ratio. If you really want a custom w and h, you can do something like this
// default crop - full image aspect r
$homepage->image('opening_banner', 'default', ['w' => 1000, 'h' => 500])
// default crop - full image aspect r
$homepage->image('opening_banner', 'default', ['w' => 1000, 'h' => 500])
13 replies
TCTwill CMS
Created by kallefrombosnia on 2/12/2024 in #👊support
Drag and drop issue
No alternative to this, I recommended them do zoom out page a lot and move the item then. Not great, not terrible. 🙂
3 replies
TCTwill CMS
Created by Mateo on 1/22/2024 in #👊support
File link in view issue
Ok, just to clarify, is your file in the block or in the module?
7 replies
TCTwill CMS
Created by Mateo on 1/22/2024 in #👊support
File link in view issue
Do you have any issues with this approach?
7 replies
TCTwill CMS
Created by Mateo on 1/22/2024 in #👊support
File link in view issue
$model->file('role');
7 replies