Bis images not generated, bis folder empty
-
First of thank you for creating this plugin!
I just installed the plugin and testing in my code:
$book = pods( 'book', $en_id);
echo bis_get_attachment_picture( $book->field( 'book_cover', TRUE )['ID'], [ 575 => [ 232, 350 ], 767 => [ 464, 700 ], ] );and the output is:
<picture> <source media="(max-width:575px)" srcset="https://mysite.com/wp-content/uploads/2023/02/ORIGINAL_FILE.jpg"> <source media="(max-width:767px)" srcset="https://mysite.com/wp-content/uploads/2023/02/ORIGINAL_FILE.jpg"> <source media="(min-width:768px)" srcset="https://mysite.com/wp-content/uploads/2023/02/ORIGINAL_FILE.jpg"> <img width="795" height="1200" src="https://mysite.com/wp-content/uploads/2023/02/ORIGINAL_FILE.jpg" class="attachment-full size-full" alt="" decoding="async" style="width:100%;height:150.94%;max-width:795px;"> </picture>
The file referred is always the original file and in the folder
wp-content/uploads/bis-images/
is empty, what are the requirements to make the plugin work ?Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bis images not generated, bis folder empty’ is closed to new replies.