Search the Community
Showing results for tags 'resize image'.
Hi there, I created a files field which is already populated with images and videos. this field functions as the data for a slideshow. which works fine. but i need to resize the images, which does not work because the files field doesn't allows the ->size command. Is there any way to seperate the images in the files field in order to resize them? edit: i already tried to create a new pageimage: $image = new Pageimage($page->images, $slide->filename); which results in an error: Aw shucks… Fatal Error: Uncaught TypeError: Pageimage::__construct(): Argument #1 ($pagefiles) must be of type Pagefiles, null given, called in <u>site/templates/basic-page.php</u> on line 19 and defined in <u>wire/core/Pageimage.php</u>:162 Thanks alot! Philipp
Hi, I'm new to PW and have watched a number of videos online and successfully installed it on local machine as well as web hosted. I've used the standard blog template and I want to change the masthead logo to another one as I customise the standard template. I have become stuck on the issue of the masthead logo. My questions are as follows: Is there any way in the admin console to edit the page header? I have edited the _main.php file to point to an new image but would prefer to do it by admin console if possible. I cannot get the image to resize and have tried using the HTML height and width parameters as well as the px values in the main.css file that refer to the masthead-logo. The image (I've tried different size ones) all remain the same width as the coffee cup standard one and will not resize for me as I need it to be much wider than the standard 100px. Many thanks in advance for any pointers you can give me. If this is covered in a video anywhere just point me to it. Thanks. Joe