antonstepichev
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] Dropdown menu warning in https pageHello David!
I completely forgot about this template, of course, that was the reason.
Many thanks for your help!Yes!! Everything works as it should be now.
Thank you very much!I kindly add everything as you wrote, but nothing has changed.
So i made a test page, see code below:[gallery style='random' tile_size='large' slide_size='full' ids="11094,11175,11174"] [gallery style='random' tile_size='large' main_size='full' ids="11094,11175,11174"] [gallery style='random' tile_size='medium' slide_size='full' ids="11094,11175,11174"]
here is the page address: https://www.backtomusic.ru/photonic-test
here is the corrected php: https://www.backtomusic.ru/wp-content/uploads/2018/08/Photonic_Native_Processor.php_-1.zipAs you can see on the test page, both the tile_size and the main_size sortcodes still do not work. Seems I did something wrong, but I can’t figure out what.
Hello Sayontan and thanks for you kind reply!
The situation is:
1 – shortcode: “style=’random’ slide_size=’full'”. In this case in the Random gallery when I mouse over a picture I see a link to a full version of the picture. When I click the picture it opens in fullframe.
2 – shortcode: “style=’random’ slide_size=’medium’ (or slide_size=’large’)”. In this case in the Random gallery when I mouse over a picture I see a link to a “320px” or “640px”version of the picture. When I click the picture, it opens in a small 640px or 320px window.
3 – shortcode: “style=’random’ tile_size=’large’ (or tile_size=’medium’, or tile_size=’full’) main_size=’full’ (or main_size=’medium’, or (or main_size=’full’))”. In any of nine combinations in the Random gallery when I mouse over a picture I see a link to a “640px” version of the picture. When I click the picture, it opens in a small 640px window.So it seems that shortcodes “tile_size” and “main_size” do not work and “slide_size” does the job for both – gallery and lightbox. Any idea?
Hello Sayontan!
I’m trying to optimize my galleries and in the process I had another question. I do not know if it’s worth starting a new topic, tell me if it’s necessary.
The question of the size of the files. To make the page load faster, you need to make a gallery of rather small size files “‘slide_size =’ large ‘” or even middle, but as far as I could figure out, the Lightbox uses files of the same size as the Random gallery and because of this Lightbox photos are not big enough (640 pixels). This can be corrected by making “‘slide_size =’ full ‘”, but in this case the page with the big gallery loads too slowly.
Question: Is it possible to specify separately an large or middle size for Random galleries, and a full size for a Lightbox?Thank you in advance,
Anton.I tried it right now. With different trigger values the Mosaic either make too big pairs of images in three rows or three images in two rows where the images are too different in size. It’s not good for articles, where each illustration should look roughly equivalent.
Seems, the Random is only suitable one.I tried the Masonry, but I did not like too much difference in the height of the columns.
Sayontan, thanks for your kind response! If the feature will be in the next version, it would be great.
Best regards and thank you once again,
Anton.Yes, but most of vertical images become too small, i do not like it that way.
I have two different types of galleries
1 – Illustrations for articles – example: https://www.backtomusic.ru/photo/lens/xenar
2 – Photography page – example: https://www.backtomusic.ru/photo/gallery/look?attachment_category=smena-v4So in my photography page the value “300” is OK, but in articles it would be better 260-280 otherwise the gallery is too large. I had to switch it off.
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Hello David and thank you for your reply!
As you suggested:
– I deleted the extra MLA plug-in
– added the parameter “Ids = 0” to the second shortcode
– convinced that the plug-in “MLA Substitution Parameter Hooks Example” is active (see screenshort https://www.backtomusic.ru/wp-content/uploads/2018/plugins.png).
Unfortunately, nothing has changed. Maybe the code does not work because I use WordPress 4.8.6 and not 4.9.6?My current code is:
<div class="photo-gallery"> <form id="mla-text-form" action="https://www.backtomusic.ru/uc/ulist-test-page" method="post" class="row"> [mla_term_list] mla_style=term-list-my-dropdown taxonomy=attachment_category mla_item_parameter=current_attachment_category current_attachment_category="bw-reference-images" mla_output=dropdown mla_option_value="{+slug+}" option_all_text='Выбрать категорию для просмотра' option_all_value=all show_count=true pad_counts=false hierarchical=true [/mla_term_list] <input id="text-form-submit" name="text_form_submit" type="submit" value="Показать фотографии" /> </form> [mla_gallery ids=0] mla_nolink_text="{+current_term:attachment_category.??bw_ref??+}" [/mla_gallery] <br> [mla_gallery ids=0] mla_nolink_text="{+current_term:attachment_category+}" [/mla_gallery] <br> [mla_gallery ids=0] mla_nolink_text="{+current_term:attachment_category.'»bw_ref»'+}" [/mla_gallery] [mla_gallery] style="random" attachment_category="{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}" posts_per_page=12 mla_caption="{+title+} : {+description+}" mla_nolink_text="<br> <br>" orderby="ID DESC" [/mla_gallery] [mla_gallery] attachment_category="{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}" posts_per_page=12 mla_output="paginate_links,prev_next" mla_link_href='{+new_url+}?attachment_category="{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}"' [/mla_gallery] </div>
Thanks for the link about the “Submit” button! There are a lot of additional links and complicated information, I’ll sort it out as far as I can.
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Hello David!
Once again I rechecked the code and tried all the options that you advised. Unfortunately, nothing helped. Here is my current code:
<div class="photo-gallery"> <form id="mla-text-form" action="https://www.backtomusic.ru/uc/ulist-test-page" method="post" class="row"> [mla_term_list] mla_style=term-list-my-dropdown taxonomy=attachment_category mla_item_parameter=current_attachment_category current_attachment_category="bw-reference-images" mla_output=dropdown mla_option_value="{+slug+}" option_all_text='Выбрать категорию для просмотра' option_all_value=all show_count=true pad_counts=false hierarchical=true [/mla_term_list] <input id="text-form-submit" name="text_form_submit" type="submit" value="Показать фотографии" /> </form> [mla_gallery ids=0] mla_nolink_text="{+current_term:attachment_category.??bw_ref??+}" [/mla_gallery] <br> [mla_gallery] mla_nolink_text="{+current_term:attachment_category+}" [/mla_gallery] <br> [mla_gallery ids=0] mla_nolink_text="{+current_term:attachment_category.'»bw_ref»'+}" [/mla_gallery] [mla_gallery] style="random" attachment_category="{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}" posts_per_page=12 mla_caption="{+title+} : {+description+}" mla_nolink_text="<br> <br>" orderby="ID DESC" [/mla_gallery] [mla_gallery] attachment_category="{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}" posts_per_page=12 mla_output="paginate_links,prev_next" mla_link_href='{+new_url+}?attachment_category="{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}"' [/mla_gallery] </div>
Thank you again for the time you spend on solving the problem!
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Hello David!
I did everything according to your instructions and now I have the following components of the MLA installed:1 – Media Library Assistant – 20180516 Enhances the Media Library; powerful [mla_gallery] [mla_tag_cloud] [mla_term_list], taxonomy support, IPTC/EXIF/XMP/PDF processing, bulk/quick edit. Версия 2.73
2 – MLA Substitution Parameter Hooks Example – Adds “parent_terms:”, “page_terms:”, “parent:”, “author:” and “conditional:” Field-level Substitution Parameters. Версия 1.09
3 – MLA Term Links Example Adds “term_links:” Field-level Substitution Parameter prefix. Версия 1.01I added the new code to the page https://www.backtomusic.ru/uc/ulist-test-page, unfortunately it did not work and instead of the category name on top of the gallery the following code is displayed:
{+CURRENT_TERM:ATTACHMENT_CATEGORY.'?BW_REF?'+}
As much as I can understand, to enter a category manually is an intermediate stage? After all, the idea was that the category name should be displayed above the gallery automatically after the user selects it in the dropdown menu.
In any case, thank You for your trying. Again it happened that I asked you a question that took you a lot of time. Please be free to answer whenever you want, I am not in a hurry. Hope that at least it will help you to develop your great plugin.
PS – I have a question on the dropdown menu. In comparison with the tag-cloud, in the dropdown-term-list we have an additional action – pressing the button “submit”. Can I customize the dropdown code so that the gallery is loaded right after clicking on the category (that is, to exclude the “submit” button)? The question is relevant only if it does not take you much time, if it is difficult then let it be as it is.
Have a great travelling and thank You!
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?David, do not pay attention to above message, I myself understood how to give a link to the required tag. Sorry for the stupid question.
For “bw-reference-images” the direct link is:
https://www.backtomusic.ru/uc/term_list-test-page?attachment_category=%22%C2%BBbw_ref%C2%BB%22
It is exactly what I need, except for the necessary name of the gallery.
Many thanks for your helping me!Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Thanks for the quick response!
I did the following:
1- copy-pasted the code into my test page
2 – changed form action toaction="https://www.backtomusic.ru/uc/term_list-test-page"
3 – adduse_filters=true
in term_list
4 – addadd_filters_to=any
in gallery
5 – installed and activated MLA UI Elements Exampleso my current code is:
`<form id=”mla-text-form” action=”https://www.backtomusic.ru/uc/term_list-test-page” method=”post” class=”row”>
<strong>Att. Categories</strong>
[mla_term_list]
taxonomy=attachment_category
mla_item_parameter=current_attachment_category
current_attachment_category=”bw-reference-images”
mla_output=dropdown
mla_option_value=”{+slug+}”
option_all_text=’Выбрать категорию для просмотра’ option_all_value=all
show_count=true pad_counts=false
hierarchical=true
use_filters=true
[/mla_term_list]<input id=”text-form-submit” name=”text_form_submit” type=”submit” value=”Показать фотографии” />
</form><h3>Gallery</h3>
[mla_gallery] style=”random”
attachment_category=”{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}”
posts_per_page=12 mla_caption=”{+title+} : {+description+}”
mla_nolink_text=”<br> <br>”
orderby=”ID DESC”
add_filters_to=any
[/mla_gallery][mla_gallery]
attachment_category=”{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}”
posts_per_page=12 mla_output=”paginate_links,prev_next”
mla_link_href='{+new_url+}?attachment_category=”{+template:({+request:attachment_category+}|{+request:tax_input.attachment_category+}|bw-reference-images)+}”‘
[/mla_gallery]`Unfortunately it has not changed default term, the dropdown behaves the same way as before.
Seems I did something wrong but I just can not understand what.Note: my trying to make the page so that it loads a certain category by default is only the first step to the other, more important goal. In mla_tag_cloud it is possible to give a direct link to the gallery with the necessary tag in the site page. I used this feature and is looking for an opportunity to do it using the term_tag-gallery. Сan the term_tag gallery start automatically, not with the help of a button, but with the help of a predetermined direct link to the tag?
Thank You!
Forum: Plugins
In reply to: [Media Library Assistant] bug in the multi-page term_list codeYes, David, this topic resolved!
Thank You very much and kind regards!